Handle the case whereby BUILD_DATE is already defined.
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -54,7 +54,9 @@
|
|||||||
|
|
||||||
#ifdef ISPC_IS_WINDOWS
|
#ifdef ISPC_IS_WINDOWS
|
||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
|
#ifndef BUILD_DATE
|
||||||
#define BUILD_DATE __DATE__
|
#define BUILD_DATE __DATE__
|
||||||
|
#endif
|
||||||
#define BUILD_VERSION ""
|
#define BUILD_VERSION ""
|
||||||
#endif // ISPC_IS_WINDOWS
|
#endif // ISPC_IS_WINDOWS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user