[mapserver-commits] r9074 - sandbox/davidK

svn at osgeo.org svn at osgeo.org
Wed Jun 3 18:02:53 EDT 2009


Author: davidK
Date: 2009-06-03 18:02:53 -0400 (Wed, 03 Jun 2009)
New Revision: 9074

Modified:
   sandbox/davidK/mapio.c
   sandbox/davidK/mapio.h
Log:


Modified: sandbox/davidK/mapio.c
===================================================================
--- sandbox/davidK/mapio.c	2009-06-03 13:00:23 UTC (rev 9073)
+++ sandbox/davidK/mapio.c	2009-06-03 22:02:53 UTC (rev 9074)
@@ -37,6 +37,10 @@
 #include <io.h>
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 MS_CVSID("$Id$")
 
 static int is_msIO_initialized = MS_FALSE;
@@ -986,3 +990,7 @@
 
     return 0;
 }
+
+#ifdef __cplusplus
+}
+#endif

Modified: sandbox/davidK/mapio.h
===================================================================
--- sandbox/davidK/mapio.h	2009-06-03 13:00:23 UTC (rev 9073)
+++ sandbox/davidK/mapio.h	2009-06-03 22:02:53 UTC (rev 9074)
@@ -32,6 +32,10 @@
 
 #define USE_MAPIO
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #if defined(USE_FASTCGI) && !defined(USE_MAPIO)
 #define USE_MAPIO
 #endif
@@ -117,4 +121,8 @@
 int msIO_needBinaryStdout( void );
 int msIO_needBinaryStdin( void );
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* nef MAPIO_H */



More information about the mapserver-commits mailing list