46 |
46 |
47 // RC Number for BUILD_RC |
47 // RC Number for BUILD_RC |
48 #define RC_NUMBER 0 |
48 #define RC_NUMBER 0 |
49 |
49 |
50 // ============================================= |
50 // ============================================= |
51 #if (BUILD_ID != BUILD_INTERNAL) |
51 #ifdef DEBUG |
52 #define RELEASE |
52 # undef RELEASE |
53 #endif // BUILD_ID |
53 #endif // DEBUG |
54 |
54 |
|
55 #ifdef RELEASE |
|
56 # undef DEBUG |
|
57 #endif // RELEASE |
|
58 |
|
59 // ============================================= |
55 #define alias auto& |
60 #define alias auto& |
56 #define elif else if |
61 #define elif(A) else if (A) |
57 |
62 |
58 // Null pointer |
63 // Null pointer |
59 static const std::nullptr_t null = nullptr; |
64 static const std::nullptr_t null = nullptr; |
60 |
|
61 #ifdef __GNUC__ |
|
62 # define FORMAT_PRINTF(M,N) __attribute__ ((format (printf, M, N))) |
|
63 # define ATTR(N) __attribute__ ((N)) |
|
64 #else |
|
65 # define FORMAT_PRINTF(M,N) |
|
66 # define ATTR(N) |
|
67 #endif // __GNUC__ |
|
68 |
65 |
69 #ifdef WIN32 |
66 #ifdef WIN32 |
70 # define DIRSLASH "\\" |
67 # define DIRSLASH "\\" |
71 # define DIRSLASH_CHAR '\\' |
68 # define DIRSLASH_CHAR '\\' |
72 #else // WIN32 |
69 #else // WIN32 |