diff options
author | truelight <truelight@openttd.org> | 2004-12-18 18:13:37 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-18 18:13:37 +0000 |
commit | 8361617f50292b7235c8dfdd15fcea18d0fa8b55 (patch) | |
tree | 010e76b16afdcd131c86c0b40cf506b8eb57926e | |
parent | 2f55c8bfc4553d4c4d8871d9a88ef095571fc034 (diff) | |
download | openttd-8361617f50292b7235c8dfdd15fcea18d0fa8b55.tar.xz |
(svn r1160) -Fix: redid revision 1159. pid_t should not be defined under windows.
-rw-r--r-- | variables.h | 7 |
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 |