File indexing completed on 2024-04-28 03:52:27

0001 #include <ecm_new_project_header_abspath_version.h>
0002 #include <string.h>
0003 #include <stdio.h>
0004 
0005 #define intcheck(macro,val) \
0006     if (macro != val) { \
0007         printf(#macro " was %d instead of %d", macro, val); \
0008         return 1; \
0009     }
0010 #define strcheck(macro,val) \
0011     if (strcmp(macro,val) != 0) { \
0012         printf(#macro " was %s instead of %s", macro, val); \
0013         return 1; \
0014     }
0015 
0016 int main()
0017 {
0018     intcheck(new_project_header_abspath_VERSION_MAJOR,2)
0019     intcheck(new_project_header_abspath_VERSION_MINOR,3)
0020     intcheck(new_project_header_abspath_VERSION_PATCH,4)
0021     intcheck(new_project_header_abspath_VERSION,((2 << 16) + (3 << 8) + 4))
0022     strcheck(new_project_header_abspath_VERSION_STRING,"2.3.4")
0023     return 0;
0024 }