(svn r22171) -Add: Add settings generator program.

This commit is contained in:
alberth
2011-03-03 20:59:59 +00:00
parent ebb3255338
commit 7a625aa7df
2 changed files with 459 additions and 2 deletions

View File

@@ -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 "\\"