48 #include "str.h" |
48 #include "str.h" |
49 |
49 |
50 // Application name and version |
50 // Application name and version |
51 #define APPNAME "botc" |
51 #define APPNAME "botc" |
52 #define VERSION_MAJOR 0 |
52 #define VERSION_MAJOR 0 |
53 #define VERSION_MINOR 0 |
53 #define VERSION_MINOR 999 |
54 #define VERSION_REVISION 999 |
54 |
|
55 // Use a macro for Write so we can get the function name |
|
56 // This can be pretty crucial in debugging. |
|
57 #ifdef __GNUC__ |
|
58 #define Write(STUFF) DoWrite (__PRETTY_FUNCTION__, STUFF) |
|
59 #else |
|
60 #define Write(STUFF) DoWrite (__func__, STUFF) |
|
61 #endif |
55 |
62 |
56 // On Windows, files are case-insensitive |
63 // On Windows, files are case-insensitive |
57 #if (defined(WIN32) || defined(_WIN32) || defined(__WIN32)) && !defined(__CYGWIN__) |
64 #if (defined(WIN32) || defined(_WIN32) || defined(__WIN32)) && !defined(__CYGWIN__) |
58 #define FILE_CASEINSENSITIVE |
65 #define FILE_CASEINSENSITIVE |
59 #endif |
66 #endif |