43 #define MACRO_TO_STRING(A) MACRO_TO_STRING_HELPER(A) |
43 #define MACRO_TO_STRING(A) MACRO_TO_STRING_HELPER(A) |
44 |
44 |
45 #define MAKE_VERSION_NUMBER(MAJ, MIN, PAT) ((MAJ * 10000) + (MIN * 100) + PAT) |
45 #define MAKE_VERSION_NUMBER(MAJ, MIN, PAT) ((MAJ * 10000) + (MIN * 100) + PAT) |
46 #define VERSION_NUMBER MAKE_VERSION_NUMBER (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) |
46 #define VERSION_NUMBER MAKE_VERSION_NUMBER (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) |
47 |
47 |
|
48 #if VERSION_PATCH > 0 |
|
49 # define VERSION_STRING MACRO_TO_STRING(VERSION_MAJOR) \ |
|
50 "." MACRO_TO_STRING(VERSION_MINOR) \ |
|
51 "." MACRO_TO_STRING(VERSION_PATCH) |
|
52 #else |
|
53 # define VERSION_STRING MACRO_TO_STRING(VERSION_MAJOR) \ |
|
54 "." MACRO_TO_STRING(VERSION_MINOR) |
|
55 #endif |
|
56 |
48 // On Windows, files are case-insensitive |
57 // On Windows, files are case-insensitive |
49 #if (defined(WIN32) or defined(_WIN32) or defined(__WIN32)) and !defined(__CYGWIN__) |
58 #if (defined(WIN32) or defined(_WIN32) or defined(__WIN32)) and !defined(__CYGWIN__) |
50 # define FILE_CASEINSENSITIVE |
59 # define FILE_CASEINSENSITIVE |
51 #endif |
60 #endif |
52 |
61 |