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.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index dff3207..53a9453 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -519,9 +519,11 @@
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
-/* Define as `__inline' if that's what the C compiler calls it, or to nothing
- if it is not supported. */
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+#ifndef __cplusplus
#undef inline
+#endif
/* Define to `long' if <sys/types.h> does not define. */
#undef off_t