C macro/#define indentation? -


I'm curious why I format almost all macros in such a way:

  #ifndef FOO # Define FOO #endif  

Or this:

  #ifndef FOO #define FOO #endif  

But never:

  #ifndef FOO #define FOO #endif  

(Also, vim's = The operator only feels that the first two are counted as correct.)

Is it between the compilers due to portability, or is it just a standard practice?

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -