diff options
Diffstat (limited to 'Include/import.h')
-rw-r--r-- | Include/import.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Include/import.h b/Include/import.h index c934fe59ae..d960c9fa13 100644 --- a/Include/import.h +++ b/Include/import.h @@ -1,3 +1,9 @@ +#ifndef Py_IMPORT_H +#define Py_IMPORT_H +#ifdef __cplusplus +extern "C" { +#endif + /*********************************************************** Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. @@ -34,3 +40,8 @@ extern struct { char *name; void (*initfunc)(); } inittab[]; + +#ifdef __cplusplus +} +#endif +#endif /* !Py_IMPORT_H */ |