diff options
author | Darkvater <darkvater@openttd.org> | 2005-10-02 22:39:56 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-10-02 22:39:56 +0000 |
commit | a3d40a29fc10e67c4a1b7cbd7fd519da030167af (patch) | |
tree | 5bcc6532a22928d167bf464a1c93f8aafbefa0f6 /strgen | |
parent | e8fac6c6cb2a19a15b57c9629b0f69de37acecd2 (diff) | |
download | openttd-a3d40a29fc10e67c4a1b7cbd7fd519da030167af.tar.xz |
(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)
Fix warning in graph_gui.c with const problem
Diffstat (limited to 'strgen')
-rw-r--r-- | strgen/strgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strgen/strgen.c b/strgen/strgen.c index b6f6717b0..431077979 100644 --- a/strgen/strgen.c +++ b/strgen/strgen.c @@ -8,7 +8,7 @@ #include <stdlib.h> #include <stdarg.h> -#if !defined(WIN32) || defined(__CYGWIN__) +#if (!defined(WIN32) && !defined(WIN64)) || defined(__CYGWIN__) #include <unistd.h> #endif @@ -996,7 +996,7 @@ static void WriteStringsH(const char *filename) unlink("tmp.xxx"); } else { // else rename tmp.xxx into filename -#if defined(WIN32) +#if defined(WIN32) || defined(WIN64) unlink(filename); #endif if (rename("tmp.xxx", filename) == -1) Fatal("rename() failed"); |