summaryrefslogtreecommitdiffstats
path: root/src/H5config.h.in
diff options
context:
space:
mode:
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