Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:13

0001 // name=macro_test ; gcc $name.cc -std=c++11  -lstdc++ -DVERSION=70000 -o /tmp/$name && /tmp/$name
0002 
0003 #include <cstdio>
0004 
0005 int main()
0006 {
0007 #if VERSION == 70000 
0008     printf("70000\n"); 
0009 #elif VERSION == 70500 || VERSION == 70600
0010     printf("70500 || 70600 \n"); 
0011 #else
0012     printf("OTHER\n"); 
0013 #endif
0014 
0015     return 0 ; 
0016 }