Mercurial > hg > xemacs-beta
diff src/intl-encap-win32.c @ 4824:c12b646d84ee
changes to get things to compile under latest cygwin
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Thu, 24 Dec 2009 19:45:23 -0600 |
parents | 6765f2581182 |
children | 493e2aa349fd |
line wrap: on
line diff
--- a/src/intl-encap-win32.c Mon Dec 21 13:51:39 2009 -0700 +++ b/src/intl-encap-win32.c Thu Dec 24 19:45:23 2009 -0600 @@ -1199,7 +1199,7 @@ BOOL qxeGetICMProfile (HDC arg1, LPDWORD arg2, Extbyte * arg3) { -#ifdef CYGWIN_HEADERS +#if 0 /* defined (CYGWIN_HEADERS) */ /* fixed at some point <= GCC 3.4.4 */ /* Cygwin mistakenly declares the second argument as DWORD. */ if (XEUNICODE_P) return GetICMProfileW (arg1, (DWORD) arg2, (LPWSTR) arg3); @@ -1217,7 +1217,7 @@ BOOL qxeUpdateICMRegKey (DWORD arg1, Extbyte * arg2, Extbyte * arg3, UINT arg4) { -#ifdef CYGWIN_HEADERS +#if defined (CYGWIN_HEADERS) /* Cygwin mistakenly declares the second argument as DWORD. */ if (XEUNICODE_P) return UpdateICMRegKeyW (arg1, (DWORD) arg2, (LPWSTR) arg3, arg4);