[ofw] [PATCH] opensm - standardize on a single Windows #define

Sean Hefty sean.hefty at intel.com
Thu Oct 8 10:22:15 PDT 2009


>What would you suggest, given you did not like the ifndef __WIN__ in terms of
>readability?

I was saying that it is slightly easier for me to read:

#ifdef __WIN__
// windows stuff
#else			// <- not __WIN__
// other stuff
#endif

versus

#ifndef __WIN_
// other stuff
#else			// <- not not __WIN__
// windows stuff
#endif

I don't have a problem with the use of __WIN__ or

#ifndef __WIN__
// other stuff
#endif




More information about the ofw mailing list