summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gettext-runtime/configure.ac2
-rw-r--r--gettext-runtime/intl/osdep.c2
-rw-r--r--gettext-tools/configure.ac2
3 files changed, 3 insertions, 3 deletions
diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac
index e9299b6..77e954b 100644
--- a/gettext-runtime/configure.ac
+++ b/gettext-runtime/configure.ac
@@ -102,7 +102,7 @@ AH_BOTTOM([
#endif
/* Extra OS/2 (emx+gcc) defines. */
-#ifdef __EMX__
+#if defined __EMX__ && !defined __KLIBC__
# include "intl/os2compat.h"
#endif
])
diff --git a/gettext-runtime/intl/osdep.c b/gettext-runtime/intl/osdep.c
index 25f8dfa..eda9d28 100644
--- a/gettext-runtime/intl/osdep.c
+++ b/gettext-runtime/intl/osdep.c
@@ -16,7 +16,7 @@
#if defined __CYGWIN__ || defined __MINGW32__
# include "intl-exports.c"
-#elif defined __EMX__
+#elif defined __EMX__ && !defined __KLIBC__
# include "os2compat.c"
#else
/* Avoid AIX compiler warning. */
diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac
index dba0775..d5e612a 100644
--- a/gettext-tools/configure.ac
+++ b/gettext-tools/configure.ac
@@ -286,7 +286,7 @@ AH_BOTTOM([
#endif
/* Extra OS/2 (emx+gcc) defines. */
-#ifdef __EMX__
+#if defined __EMX__ && !defined __KLIBC__
# include "intl/os2compat.h"
#endif
])