aboutsummaryrefslogtreecommitdiffstats
path: root/src/libid3tag
diff options
context:
space:
mode:
Diffstat (limited to 'src/libid3tag')
-rw-r--r--src/libid3tag/config.h.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libid3tag/config.h.in b/src/libid3tag/config.h.in
index b4f0f8997..ba35b4be9 100644
--- a/src/libid3tag/config.h.in
+++ b/src/libid3tag/config.h.in
@@ -72,6 +72,8 @@
/* 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