summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-18 18:13:37 +0000
committertruelight <truelight@openttd.org>2004-12-18 18:13:37 +0000
commitc7b5cc37876d9a6c87f9d4551e2c2df173e28bd1 (patch)
tree010e76b16afdcd131c86c0b40cf506b8eb57926e /variables.h
parent158a4d897bf768fd829046545e6c96de898158b3 (diff)
downloadopenttd-c7b5cc37876d9a6c87f9d4551e2c2df173e28bd1.tar.xz
(svn r1160) -Fix: redid revision 1159. pid_t should not be defined under windows.
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/variables.h b/variables.h
index 8a0f1ad4e..afaa72905 100644
--- a/variables.h
+++ b/variables.h
@@ -422,12 +422,11 @@ VARDEF int _debug_ai_level;
VARDEF int _debug_net_level;
/* Forking stuff */
-#if !defined(pid_t)
-typedef int pid_t;
-#endif
VARDEF bool _dedicated_forks;
VARDEF bool _dedicated_enabled;
-VARDEF pid_t _dedicated_pid;
+#ifdef UNIX
+ VARDEF pid_t _dedicated_pid;
+#endif
void CDECL debug(const char *s, ...);
#ifdef NO_DEBUG_MESSAGES