mirror of https://github.com/python/cpython
Need to add default decl of DL_IMPORT, for mymalloc.h
This commit is contained in:
parent
3886bb6997
commit
f261526423
|
@ -32,6 +32,12 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
/* Check for interrupts */
|
||||
|
||||
#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 "myproto.h"
|
||||
#include "mymalloc.h" /* For ANY */
|
||||
#include "intrcheck.h"
|
||||
|
|
|
@ -37,6 +37,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue