From 522cf1f6fb2dab78702af1f1f06b0855fab75149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 30 Mar 2002 08:57:12 +0000 Subject: Patch #536908: Add missing #include guards/extern "C". --- Include/cStringIO.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Include/cStringIO.h') diff --git a/Include/cStringIO.h b/Include/cStringIO.h index cb8f337f6e..fa3fcd70a6 100644 --- a/Include/cStringIO.h +++ b/Include/cStringIO.h @@ -1,5 +1,8 @@ #ifndef CSTRINGIO_INCLUDED #define CSTRINGIO_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif /* cStringIO.h,v 1.4 1997/12/07 14:27:00 jim Exp @@ -128,4 +131,7 @@ xxxPyCObject_Import(char *module_name, char *name) #define PycString_IMPORT \ PycStringIO=(struct PycStringIO_CAPI*)xxxPyCObject_Import("cStringIO", "cStringIO_CAPI") +#ifdef __cplusplus +} +#endif #endif /* CSTRINGIO_INCLUDED */ -- cgit v1.2.1