(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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user