diff options
Diffstat (limited to 'navit/support/gettext_intl/dcigettext.c')
-rw-r--r-- | navit/support/gettext_intl/dcigettext.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/navit/support/gettext_intl/dcigettext.c b/navit/support/gettext_intl/dcigettext.c index 9d4e3542e..1b66fba37 100644 --- a/navit/support/gettext_intl/dcigettext.c +++ b/navit/support/gettext_intl/dcigettext.c @@ -133,6 +133,11 @@ extern int errno; # define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) #endif +#if defined(__MINGW32__) && !defined(__MINGW32CE__) +# define HAVE_MEMPCPY 1 +#endif + + /* @@ end of prolog @@ */ #ifdef _LIBC @@ -158,7 +163,7 @@ char *getcwd (); # ifndef HAVE_STPCPY static char *stpcpy (char *dest, const char *src); # endif -# ifndef HAVE_MEMPCPY +# if !defined(HAVE_MEMPCPY) static void *mempcpy (void *dest, const void *src, size_t n); # endif #endif |