zunzunzun - 2016-07-12

mcpp -Dunix x.c

x.c is like following

#ifdef unix
xxxx
#endif

is not expanded to "xxxx" because unix is not evaluated as 1.

Which is correct the specified commandline option overwrites the predefined macro value or not.

 

Last edit: zunzunzun 2016-07-12