[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [PATCH 3/8] build: Do not include os2compat.[ch]
From: |
KO Myung-Hun |
Subject: |
[bug-gettext] [PATCH 3/8] build: Do not include os2compat.[ch] |
Date: |
Sun, 8 Nov 2015 14:57:59 +0900 |
kLIBC does not need os2compat.[ch]
* gettext-runtime/configure.ac (AH_BOTTOM): Do not include
intl/os2compat.h on kLIBC.
* gettext-runtime/intl/osdep.c: Do not include os2compat.c on kLIBC.
* gettext-tools/configure.ac (AH_BOTTOM): Do not include
intl/os2compat.h on kLIBC.
---
gettext-runtime/configure.ac | 2 +-
gettext-runtime/intl/osdep.c | 2 +-
gettext-tools/configure.ac | 2 +-
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 920eeb6..e2598eb 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
])
--
2.6.0
- [bug-gettext] [PATCH] OS/2 patches, KO Myung-Hun, 2015/11/08
- [bug-gettext] [PATCH 1/8] moop: Replace CR as well as NL with a space, KO Myung-Hun, 2015/11/08
- [bug-gettext] [PATCH 2/8] test-lock: Do not include sched.h on kLIBC, KO Myung-Hun, 2015/11/08
- [bug-gettext] [PATCH 4/8] gettext-runtime: Fix name resolution failures on kLIBC, KO Myung-Hun, 2015/11/08
- [bug-gettext] [PATCH 3/8] build: Do not include os2compat.[ch],
KO Myung-Hun <=
- [bug-gettext] [PATCH 6/8] libasprintf: Build a shared library on OS/2, KO Myung-Hun, 2015/11/08
- [bug-gettext] [PATCH 7/8] gettext-tools: Use a short name for DLLs on OS/2, KO Myung-Hun, 2015/11/08
- [bug-gettext] [PATCH 8/8] xgettext, cldr-plurals: Fix linkage on OS/2, KO Myung-Hun, 2015/11/08
- [bug-gettext] [PATCH 5/8] intl: Support UNIXROOT in BINDTEXTDOMAIN () on EMX, KO Myung-Hun, 2015/11/08
- Re: [bug-gettext] [PATCH] OS/2 patches, Daiki Ueno, 2015/11/17