(svn r1160) -Fix: redid revision 1159. pid_t should not be defined under windows.
authortruelight
Sat, 18 Dec 2004 18:13:37 +0000
changeset 708 c456ebed2d8a
parent 707 93bc462c0f64
child 709 14af26156083
(svn r1160) -Fix: redid revision 1159. pid_t should not be defined under windows.
variables.h
--- a/variables.h	Sat Dec 18 18:05:56 2004 +0000
+++ b/variables.h	Sat Dec 18 18:13:37 2004 +0000
@@ -422,12 +422,11 @@
 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