From 002d32c8a0781739888a3eef5858ba5c349d6c03 Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Mon, 18 Dec 2017 11:47:58 -0800 Subject: [PATCH] Fix broken auto-resource-dir detection --- src/utils.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/utils.cc b/src/utils.cc index e1be249f..832a6243 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -19,8 +19,9 @@ #include #endif -#define _STRINGIFY(x) #x -#define ENSURE_STRING_MACRO_ARGUMENT(x) _STRINGIFY(x) +//#define _STRINGIFY(x) #x +//#define ENSURE_STRING_MACRO_ARGUMENT(x) _STRINGIFY(x) +#define ENSURE_STRING_MACRO_ARGUMENT(x) x // See http://stackoverflow.com/a/217605 void TrimStart(std::string& s) { @@ -395,4 +396,4 @@ std::string GetDefaultResourceDirectory() { } return NormalizePath(result); -} \ No newline at end of file +}