Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[From Arnaud Giersch] Add missing {BEGIN,END}_DECL() for compiling in C++.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Jul 2010 14:06:53 +0000 (14:06 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Jul 2010 14:06:53 +0000 (14:06 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7981 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/simgrid_config.h.in

index ef054c7..d5e8cab 100644 (file)
@@ -27,6 +27,7 @@
 
 #ifndef SIMGRID_PUBLIC_CONFIG_H
 #define SIMGRID_PUBLIC_CONFIG_H
+SG_BEGIN_DECL()
 
 /* Define to 1 if you have the `mmap' function. */
 #cmakedefine HAVE_MMAP @HAVE_MMAP@
@@ -83,4 +84,5 @@ XBT_PUBLIC(int) vasprintf(char **ptr, const char *fmt, va_list ap);
 XBT_PUBLIC(char *) bprintf(const char *fmt, ...) _XBT_GNUC_PRINTF(1, 2);
 /** @} */
 
-#endif /* SIMGRID_PUBLIC_CONFIG_H */
\ No newline at end of file
+SG_END_DECL()
+#endif /* SIMGRID_PUBLIC_CONFIG_H */