diff src/config.h.in @ 185:3d6bfa290dbd r20-3b19

Import from CVS: tag r20-3b19
author cvs
date Mon, 13 Aug 2007 09:55:28 +0200
parents 9ad43877534d
children e45d5e7c476e
line wrap: on
line diff
--- a/src/config.h.in	Mon Aug 13 09:54:24 2007 +0200
+++ b/src/config.h.in	Mon Aug 13 09:55:28 2007 +0200
@@ -463,8 +463,15 @@
    configuration names to use for them.
 
    See s/template.h for documentation on writing s/...h files. */
+
+#if defined (__cplusplus) && !defined (NOT_C_CODE)
+extern "C" {
+#endif
 #undef config_opsysfile
 #include config_opsysfile
+#if defined (__cplusplus) && !defined (NOT_C_CODE)
+}
+#endif
 
 /* The configuration script defines machfile to be the name of the
    m/...h file that describes the machine you are using.  The file is
@@ -723,4 +730,4 @@
 #define MAIL_USE_LOCKF
 #endif
 
-#endif /* _CONFIG_H_ */
+#endif /* _SRC_CONFIG_H_ */