commit 712ce1149a311d08fd545aa207ee8be9138947b0
Author: Russell Rice <rtc_marine@hotmail.com>
AuthorDate: Tue Jan 2 06:59:58 2007 +0000
Commit: Russell Rice <rtc_marine@hotmail.com>
CommitDate: Tue Jan 2 06:59:58 2007 +0000
Replace WINDOWS define with _WIN32
Update Codeblocks project
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 814
---
codeblocks/chocolate-setup.cbp | 1 +
setup/execute.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/codeblocks/chocolate-setup.cbp b/codeblocks/chocolate-setup.cbp
index f749d54a..5151c898 100644
--- 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" />
diff --git a/setup/execute.c b/setup/execute.c
index 800e33b7..1ebd7c55 100644
--- 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)