conditional compilation in c on variables code example
Example: conditional compilation in c
#ifdef macro1
printf( "Hello!\n" );
#endif
#ifndef macro2
printf( "Hello!\n" );
#endif
#ifdef macro3
printf( "Hello!\n" );
#endif
#ifdef macro1
printf( "Hello!\n" );
#endif
#ifndef macro2
printf( "Hello!\n" );
#endif
#ifdef macro3
printf( "Hello!\n" );
#endif