diff options
author | Guido van Rossum <guido@python.org> | 1999-04-07 16:07:23 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-04-07 16:07:23 +0000 |
commit | b6b34d28790a8455de368ec7e7ca35e0c6d8157f (patch) | |
tree | cb311df87c3445d6d4794a084a24316eecbbd508 /Python/thread.c | |
parent | 75c427f566f9347b1041ab66c4f3e2c22cb9b2a2 (diff) | |
download | cpython-b6b34d28790a8455de368ec7e7ca35e0c6d8157f.tar.gz |
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 c533398a3c..0f46223499 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" |