summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/tkConfig.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/tkConfig.h.in b/unix/tkConfig.h.in
index baa7e40..db591a8 100644
--- a/unix/tkConfig.h.in
+++ b/unix/tkConfig.h.in
@@ -205,6 +205,12 @@
/* Define to `int' if <sys/types.h> doesn't define. */
#undef gid_t
+/* 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
+
/* Signed integer type wide enough to hold a pointer. */
#undef intptr_t