Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
4785:d6cfba1cc388 | 4824:c12b646d84ee |
---|---|
1197 | 1197 |
1198 /* NOTE: NT 4.0+ only */ | 1198 /* NOTE: NT 4.0+ only */ |
1199 BOOL | 1199 BOOL |
1200 qxeGetICMProfile (HDC arg1, LPDWORD arg2, Extbyte * arg3) | 1200 qxeGetICMProfile (HDC arg1, LPDWORD arg2, Extbyte * arg3) |
1201 { | 1201 { |
1202 #ifdef CYGWIN_HEADERS | 1202 #if 0 /* defined (CYGWIN_HEADERS) */ /* fixed at some point <= GCC 3.4.4 */ |
1203 /* Cygwin mistakenly declares the second argument as DWORD. */ | 1203 /* Cygwin mistakenly declares the second argument as DWORD. */ |
1204 if (XEUNICODE_P) | 1204 if (XEUNICODE_P) |
1205 return GetICMProfileW (arg1, (DWORD) arg2, (LPWSTR) arg3); | 1205 return GetICMProfileW (arg1, (DWORD) arg2, (LPWSTR) arg3); |
1206 else | 1206 else |
1207 return GetICMProfileA (arg1, (DWORD) arg2, (LPSTR) arg3); | 1207 return GetICMProfileA (arg1, (DWORD) arg2, (LPSTR) arg3); |
1215 | 1215 |
1216 /* NOTE: NT 4.0+ only */ | 1216 /* NOTE: NT 4.0+ only */ |
1217 BOOL | 1217 BOOL |
1218 qxeUpdateICMRegKey (DWORD arg1, Extbyte * arg2, Extbyte * arg3, UINT arg4) | 1218 qxeUpdateICMRegKey (DWORD arg1, Extbyte * arg2, Extbyte * arg3, UINT arg4) |
1219 { | 1219 { |
1220 #ifdef CYGWIN_HEADERS | 1220 #if defined (CYGWIN_HEADERS) |
1221 /* Cygwin mistakenly declares the second argument as DWORD. */ | 1221 /* Cygwin mistakenly declares the second argument as DWORD. */ |
1222 if (XEUNICODE_P) | 1222 if (XEUNICODE_P) |
1223 return UpdateICMRegKeyW (arg1, (DWORD) arg2, (LPWSTR) arg3, arg4); | 1223 return UpdateICMRegKeyW (arg1, (DWORD) arg2, (LPWSTR) arg3, arg4); |
1224 else | 1224 else |
1225 return UpdateICMRegKeyA (arg1, (DWORD) arg2, (LPSTR) arg3, arg4); | 1225 return UpdateICMRegKeyA (arg1, (DWORD) arg2, (LPSTR) arg3, arg4); |