Mercurial > cpython-lru_cache-weakref
diff Python/thread.c @ 10530:d834ecdf8c26 legacy-trunk
Changes by Mark Hammond for Windows CE. Mostly of the form
#ifdef DONT_HAVE_header_H ... #endif around #include <header.h>.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 07 Apr 1999 16:07:23 +0000 |
| parents | 877d23bd5bdc |
| children | c27f484aefff |
line wrap: on
line diff
--- a/Python/thread.c Wed Apr 07 16:05:47 1999 +0000 +++ b/Python/thread.c Wed Apr 07 16:07:23 1999 +0000 @@ -42,13 +42,17 @@ #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 @@ #include "thread_beos.h" #endif +#ifdef WINCE_THREADS +#include "thread_wince.h" +#endif + /* #ifdef FOOBAR_THREADS #include "thread_foobar.h"
