summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-03-03 20:59:59 +0000
committeralberth <alberth@openttd.org>2011-03-03 20:59:59 +0000
commit98d5302c63c13e42dadaa3ea49ed0549fb8fd154 (patch)
tree7e712d2c323392a8f3f19844ac3046ad9c8cf96a /src/stdafx.h
parentfa9c193539a8b3a43c36c91ad71b2b9c8220fb7a (diff)
downloadopenttd-98d5302c63c13e42dadaa3ea49ed0549fb8fd154.tar.xz
(svn r22171) -Add: Add settings generator program.
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index b226e44f4..4d61cf8b5 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -240,7 +240,7 @@
/* NOTE: the string returned by these functions is only valid until the next
* call to the same function and is not thread- or reentrancy-safe */
-#if !defined(STRGEN)
+#if !defined(STRGEN) && !defined(SETTINGSGEN)
#if defined(WIN32) || defined(WIN64)
char *getcwd(char *buf, size_t size);
#include <tchar.h>
@@ -264,7 +264,7 @@
#define SQ2OTTD(name) (name)
#define OTTD2SQ(name) (name)
#endif /* WIN32 */
-#endif /* STRGEN */
+#endif /* STRGEN || SETTINGSGEN */
#if defined(WIN32) || defined(WIN64) || defined(__OS2__) && !defined(__INNOTEK_LIBC__)
#define PATHSEP "\\"