aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmad/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmad/config.h.in')
-rw-r--r--src/libmad/config.h.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libmad/config.h.in b/src/libmad/config.h.in
index 2cdd33497..ec79167a8 100644
--- a/src/libmad/config.h.in
+++ b/src/libmad/config.h.in
@@ -121,9 +121,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 `int' if <sys/types.h> does not define. */
#undef pid_t