summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-07 16:07:23 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-07 16:07:23 (GMT)
commit2571cc8bf50a9e08bc45116ee7f39de78139a6ca (patch)
tree4cd1520c835e29cbde8a0bfc3f281fff7c0e9beb /Python/thread.c
parent99fb7c70f4e9e399c4cfbfb18f1f04a57fc80b50 (diff)
downloadcpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.zip
cpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.tar.gz
cpython-2571cc8bf50a9e08bc45116ee7f39de78139a6ca.tar.bz2
Changes by Mark Hammond for Windows CE. Mostly of the form
#ifdef DONT_HAVE_header_H ... #endif around #include <header.h>.
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Python/thread.c b/Python/thread.c
index c533398..0f46223 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -42,13 +42,17 @@ PERFORMANCE OF THIS SOFTWARE.
#define DL_IMPORT(RTYPE) RTYPE
#endif
+#ifndef DONT_HAVE_STDIO_H
#include <stdio.h>
+#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#else
+#ifdef Py_DEBUG
extern char *getenv();
#endif
+#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
@@ -162,6 +166,10 @@ void PyThread_init_thread _P0()
#include "thread_beos.h"
#endif
+#ifdef WINCE_THREADS
+#include "thread_wince.h"
+#endif
+
/*
#ifdef FOOBAR_THREADS
#include "thread_foobar.h"