aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-18 04:39:26 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-18 04:39:26 +0000
commitdeb06d9c6f336eb2d47df61d48ab6433f07a89f8 (patch)
treeee959429f17cbfb006910f7b6ab2fd9cf1c6eade /src
parent84292aeaea05e14f30c43fa3bfa85fba78c6bbfa (diff)
downloadmpd-deb06d9c6f336eb2d47df61d48ab6433f07a89f8.tar.gz
mpd-deb06d9c6f336eb2d47df61d48ab6433f07a89f8.tar.xz
mpd-deb06d9c6f336eb2d47df61d48ab6433f07a89f8.zip
weee
git-svn-id: https://svn.musicpd.org/mpd/trunk@274 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/libid3tag/config.h.in6
-rw-r--r--src/libmad/config.h.in6
2 files changed, 8 insertions, 4 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
diff --git a/src/libmad/config.h.in b/src/libmad/config.h.in
index 2a9671cd2..a29b58209 100644
--- a/src/libmad/config.h.in
+++ b/src/libmad/config.h.in
@@ -125,9 +125,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