comparison 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
comparison
equal deleted inserted replaced
9588:38023a425e48 9589:01c8fe44064b
34 The implementation for system foobar is in a file thread_foobar.h 34 The implementation for system foobar is in a file thread_foobar.h
35 which is included by this file dependent on config settings. 35 which is included by this file dependent on config settings.
36 Stuff shared by all thread_*.h files is collected here. */ 36 Stuff shared by all thread_*.h files is collected here. */
37 37
38 #include "config.h" 38 #include "config.h"
39
40 /* config.h may or may not define DL_IMPORT */
41 #ifndef DL_IMPORT /* declarations for DLL import/export */
42 #define DL_IMPORT(RTYPE) RTYPE
43 #endif
39 44
40 #include <stdio.h> 45 #include <stdio.h>
41 46
42 #ifdef HAVE_STDLIB_H 47 #ifdef HAVE_STDLIB_H
43 #include <stdlib.h> 48 #include <stdlib.h>