Mercurial > cpython-lru_cache-weakref
diff Python/thread.c @ 9589:01c8fe44064b legacy-trunk
Need to add default decl of DL_IMPORT, for mymalloc.h
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 04 Dec 1998 18:50:20 +0000 |
| parents | 07dae6fdae79 |
| children | 877d23bd5bdc |
line wrap: on
line diff
--- a/Python/thread.c Fri Dec 04 18:50:17 1998 +0000 +++ b/Python/thread.c Fri Dec 04 18:50:20 1998 +0000 @@ -37,6 +37,11 @@ #include "config.h" +/* config.h may or may not define DL_IMPORT */ +#ifndef DL_IMPORT /* declarations for DLL import/export */ +#define DL_IMPORT(RTYPE) RTYPE +#endif + #include <stdio.h> #ifdef HAVE_STDLIB_H
