Fix broken auto-resource-dir detection

This commit is contained in:
Jacob Dufault 2017-12-18 11:47:58 -08:00
parent 934c20312a
commit 002d32c8a0

View File

@ -19,8 +19,9 @@
#include <sparsepp/spp_memory.h> #include <sparsepp/spp_memory.h>
#endif #endif
#define _STRINGIFY(x) #x //#define _STRINGIFY(x) #x
#define ENSURE_STRING_MACRO_ARGUMENT(x) _STRINGIFY(x) //#define ENSURE_STRING_MACRO_ARGUMENT(x) _STRINGIFY(x)
#define ENSURE_STRING_MACRO_ARGUMENT(x) x
// See http://stackoverflow.com/a/217605 // See http://stackoverflow.com/a/217605
void TrimStart(std::string& s) { void TrimStart(std::string& s) {
@ -395,4 +396,4 @@ std::string GetDefaultResourceDirectory() {
} }
return NormalizePath(result); return NormalizePath(result);
} }