diff options
Diffstat (limited to 'Include/osdefs.h')
-rw-r--r-- | Include/osdefs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h index 939978a6e8..5ff75bacf3 100644 --- a/Include/osdefs.h +++ b/Include/osdefs.h @@ -1,3 +1,9 @@ +#ifndef Py_OSDEFS_H +#define Py_OSDEFS_H +#ifdef __cplusplus +extern "C" { +#endif + /*********************************************************** Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. @@ -50,3 +56,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #ifndef DELIM #define DELIM ':' #endif + +#ifdef __cplusplus +} +#endif +#endif /* !Py_OSDEFS_H */ |