aboutsummaryrefslogtreecommitdiff
path: root/libjava/libltdl/config-h.in
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/libltdl/config-h.in')
-rw-r--r--libjava/libltdl/config-h.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/libjava/libltdl/config-h.in b/libjava/libltdl/config-h.in
index 0b84559..b864071 100644
--- a/libjava/libltdl/config-h.in
+++ b/libjava/libltdl/config-h.in
@@ -188,6 +188,8 @@
/* Define to a type to use for `error_t' if it is not otherwise available. */
#undef error_t
-/* 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