# HG changeset patch # User Ben Wing # Date 1263282140 21600 # Node ID 493e2aa349fd6eb5a5b55fb6181e03596d74b23b # Parent 5ba666b52ff350e092caa3de1221a3849dfab805 imported patch cygwin-headers-cosmetic-1-11-10 diff -r 5ba666b52ff3 -r 493e2aa349fd src/database.c --- a/src/database.c Tue Jan 12 01:42:15 2010 -0600 +++ b/src/database.c Tue Jan 12 01:42:20 2010 -0600 @@ -85,7 +85,7 @@ #endif /* HAVE_BERKELEY_DB */ #ifdef HAVE_DBM -#if defined (CYGWIN) || defined (MINGW) +#ifdef CYGWIN_HEADERS #if defined(__cplusplus) || defined(c_plusplus) extern "C" { diff -r 5ba666b52ff3 -r 493e2aa349fd src/intl-encap-win32.c --- a/src/intl-encap-win32.c Tue Jan 12 01:42:15 2010 -0600 +++ b/src/intl-encap-win32.c Tue Jan 12 01:42:20 2010 -0600 @@ -1217,7 +1217,7 @@ BOOL qxeUpdateICMRegKey (DWORD arg1, Extbyte * arg2, Extbyte * arg3, UINT arg4) { -#if defined (CYGWIN_HEADERS) +#ifdef CYGWIN_HEADERS /* Cygwin mistakenly declares the second argument as DWORD. */ if (XEUNICODE_P) return UpdateICMRegKeyW (arg1, (DWORD) arg2, (LPWSTR) arg3, arg4);