diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libid3tag/config.h.in | 6 | ||||
-rw-r--r-- | src/libmad/config.h.in | 6 |
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 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 |