diff options
author | Guido van Rossum <guido@python.org> | 1999-04-07 16:07:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-04-07 16:07:23 (GMT) |
commit | 2571cc8bf50a9e08bc45116ee7f39de78139a6ca (patch) | |
tree | 4cd1520c835e29cbde8a0bfc3f281fff7c0e9beb /Python/thread.c | |
parent | 99fb7c70f4e9e399c4cfbfb18f1f04a57fc80b50 (diff) | |
download | cpython-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.c | 8 |
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" |