Mercurial > hg > xemacs-beta
diff src/intl-encap-win32.c @ 2262:09e68196904a
[xemacs-hg @ 2004-09-11 04:00:33 by james]
Conditionalize Cygwin bug workaround on w32api header version.
author | james |
---|---|
date | Sat, 11 Sep 2004 04:00:41 +0000 |
parents | fba0799e2d79 |
children | ecf1ebac70d8 |
line wrap: on
line diff
--- a/src/intl-encap-win32.c Fri Sep 10 21:50:39 2004 +0000 +++ b/src/intl-encap-win32.c Sat Sep 11 04:00:41 2004 +0000 @@ -1795,8 +1795,8 @@ DWORD fMode) { if (XEUNICODE_P) -#ifdef CYGWIN_HEADERS - /* Cygwin mistakenly declares the fourth and fifth arguments as +#if defined (CYGWIN_HEADERS) && W32API_INSTALLED_VER < W32API_VER(3,1) + /* Cygwin used to mistakenly declare the fourth and fifth arguments as PDEVMODEA. */ return DocumentPropertiesW (hWnd, hPrinter, (LPWSTR) pDeviceName, (DEVMODEA *) pDevModeOutput,