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

iphone - How do I make a UIPickerView in a UIActionSheet -

excel - Populate list via a bi-Condition -