diff --git a/util/ChangeLog b/util/ChangeLog index 6230902b1..d2de7bb95 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,7 @@ +2001-12-19 Werner Koch + + * simple-gettext.c, w32reg.c [CYGWIN32]: Allow to use this file + 2001-10-11 Werner Koch * http.c (do_parse_uri): Changed initialization of the port number diff --git a/util/simple-gettext.c b/util/simple-gettext.c index 461c357d7..500226709 100644 --- a/util/simple-gettext.c +++ b/util/simple-gettext.c @@ -27,8 +27,8 @@ #include #ifdef USE_SIMPLE_GETTEXT -#ifndef __MINGW32__ - #error This file can only be used with MinGW32 +#if defined (__MINGW32__) || defined (__CYGWIN32__) + #error This file can only be used with MingW32 or Cygwin32 #endif #include diff --git a/util/w32reg.c b/util/w32reg.c index a0da975ef..000ae07b7 100644 --- a/util/w32reg.c +++ b/util/w32reg.c @@ -19,7 +19,8 @@ */ #include -#ifdef __MINGW32__ /* This module is only used in this environment */ +#if defined (__MINGW32__) || defined (__CYGWIN32__) + /* This module is only used in this environment */ #include #include @@ -124,4 +125,4 @@ write_w32_registry_string(const char *root, const char *dir, return 0; } -#endif /* __MINGW32__ */ +#endif /* __MINGW32__ || __CYGWIN32__ */