summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-18 18:05:56 +0000
committerdarkvater <darkvater@openttd.org>2004-12-18 18:05:56 +0000
commit158a4d897bf768fd829046545e6c96de898158b3 (patch)
treee2f13a00d67a593f0e97fe2f7a2da47c9f9bd62b /variables.h
parent1fd06cf7731e280e118bf24d2f65aae9ef9191ed (diff)
downloadopenttd-158a4d897bf768fd829046545e6c96de898158b3.tar.xz
(svn r1159) -Fix: pid_t was unknown to windows; typedeffed to int.
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/variables.h b/variables.h
index cdefafe50..8a0f1ad4e 100644
--- a/variables.h
+++ b/variables.h
@@ -422,6 +422,9 @@ 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;