From a56d88a99a01a668e35f404bd65021cde65b77b5 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 6 Sep 2000 11:15:18 -0500 Subject: [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. --- src/H5config.h.in | 2 ++ 1 file changed, 2 insertions(+) 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 doesn't define. */ #undef off_t -- cgit v0.12