Mercurial > hg > xemacs-beta
changeset 4837:493e2aa349fd
imported patch cygwin-headers-cosmetic-1-11-10
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Tue, 12 Jan 2010 01:42:20 -0600 |
parents | 5ba666b52ff3 |
children | d08fc2e159c9 |
files | src/database.c src/intl-encap-win32.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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" {
--- 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);