summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Höhn <hoehnp@gmx.de>2018-10-04 13:24:56 +0200
committerPatrick Höhn <hoehnp@gmx.de>2018-10-04 14:41:59 +0200
commit461fdfdd3a6b34634a55a0c04e97622100062bd8 (patch)
tree8a6defd167933e6f693bdc1ad905d177a12ed416
parentd1faac4ec195b6b3b981972624438dc87a9c381b (diff)
downloadnavit-461fdfdd3a6b34634a55a0c04e97622100062bd8.tar.gz
WIP progress fixing wince build
ändrad: navit/support/gettext_intl/dcigettext.c
-rw-r--r--navit/support/gettext_intl/dcigettext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/support/gettext_intl/dcigettext.c b/navit/support/gettext_intl/dcigettext.c
index 48d269c4e..12213a2cb 100644
--- a/navit/support/gettext_intl/dcigettext.c
+++ b/navit/support/gettext_intl/dcigettext.c
@@ -133,7 +133,7 @@ extern int errno;
# define offsetof(type,ident) ((size_t)&(((type*)0)->ident))
#endif
-#if defined __MINGW32__ && !defined __CEGCC__
+#if defined __MINGW32__
# define HAVE_MEMPCPY 1
#endif
@@ -162,7 +162,7 @@ char *getcwd ();
# ifndef HAVE_STPCPY
static char *stpcpy (char *dest, const char *src);
# endif
-# ifndef HAVE_MEMPCPY
+# if !defined(HAVE_MEMPCPY) || defined(__CEGCC__)
static void *mempcpy (void *dest, const void *src, size_t n);
# endif
#endif
@@ -1179,7 +1179,7 @@ stpcpy (char *dest, const char *src)
}
#endif
-#if !_LIBC && !HAVE_MEMPCPY
+#if !_LIBC && (!HAVE_MEMPCPY || defined(__CEGCC__))
static void *
mempcpy (void *dest, const void *src, size_t n)
{