ref: 712ce1149a311d08fd545aa207ee8be9138947b0
parent: d66cbb5fcdb61fcfa64356627a3dd4e68b100f9a
author: Russell Rice <[email protected]>
date: Tue Jan 2 01:59:58 EST 2007
Replace WINDOWS define with _WIN32 Update Codeblocks project Subversion-branch: /trunk/chocolate-doom Subversion-revision: 814
--- a/codeblocks/chocolate-setup.cbp
+++ b/codeblocks/chocolate-setup.cbp
@@ -40,6 +40,7 @@
</VirtualTargets>
<Compiler>
<Add option="-Wall" />
+ <Add option="-D_WIN32" />
<Add directory="." />
<Add directory="..\src" />
<Add directory="..\textscreen" />
--- a/setup/execute.c
+++ b/setup/execute.c
@@ -28,7 +28,7 @@
#include <sys/types.h>
-#ifndef WINDOWS
+#ifndef _WIN32
#include <sys/wait.h>
#else
#define WEXITSTATUS(stat_val) ((stat_val) & 255)