summaryrefslogtreecommitdiffstats
path: root/src/H5config.h.in
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-09-06 16:15:18 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-09-06 16:15:18 (GMT)
commita56d88a99a01a668e35f404bd65021cde65b77b5 (patch)
treea4e7bd2de0d76f28ca65806dd135c84f22cecf89 /src/H5config.h.in
parentc2a5fb66099640701c31ebedf092bc425af9e0ed (diff)
downloadhdf5-a56d88a99a01a668e35f404bd65021cde65b77b5.zip
hdf5-a56d88a99a01a668e35f404bd65021cde65b77b5.tar.gz
hdf5-a56d88a99a01a668e35f404bd65021cde65b77b5.tar.bz2
[svn-r2515] Added macros around the inline #define since this is a keyword in C++
and, when adding the header to a C++ program, breaks it.
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r--src/H5config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 544b1f5..dfa81ec 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -11,7 +11,9 @@
#undef HAVE_TZNAME
/* Define as __inline if that's what the C compiler calls it. */
+#ifndef __cplusplus
#undef inline
+#endif
/* Define to `long' if <sys/types.h> doesn't define. */
#undef off_t