(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)

Fix warning in graph_gui.c with const problem
This commit is contained in:
Darkvater
2005-10-02 22:39:56 +00:00
parent 14cb6ac17c
commit e1acd38bc5
13 changed files with 127 additions and 24 deletions

View File

@@ -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");