mirror of
https://github.com/python/cpython
synced 2024-09-19 14:41:28 +00:00
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 */
|
/* Check for interrupts */
|
||||||
|
|
||||||
#include "config.h"
|
#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 "myproto.h"
|
||||||
#include "mymalloc.h" /* For ANY */
|
#include "mymalloc.h" /* For ANY */
|
||||||
#include "intrcheck.h"
|
#include "intrcheck.h"
|
||||||
|
|
|
@ -37,6 +37,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include "config.h"
|
#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>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef HAVE_STDLIB_H
|
#ifdef HAVE_STDLIB_H
|
||||||
|
|
Loading…
Reference in a new issue