Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
2261:7ffd8096e327 | 2262:09e68196904a |
---|---|
1793 qxeDocumentProperties (HWND hWnd, HANDLE hPrinter, Extbyte *pDeviceName, | 1793 qxeDocumentProperties (HWND hWnd, HANDLE hPrinter, Extbyte *pDeviceName, |
1794 DEVMODEW *pDevModeOutput, DEVMODEW *pDevModeInput, | 1794 DEVMODEW *pDevModeOutput, DEVMODEW *pDevModeInput, |
1795 DWORD fMode) | 1795 DWORD fMode) |
1796 { | 1796 { |
1797 if (XEUNICODE_P) | 1797 if (XEUNICODE_P) |
1798 #ifdef CYGWIN_HEADERS | 1798 #if defined (CYGWIN_HEADERS) && W32API_INSTALLED_VER < W32API_VER(3,1) |
1799 /* Cygwin mistakenly declares the fourth and fifth arguments as | 1799 /* Cygwin used to mistakenly declare the fourth and fifth arguments as |
1800 PDEVMODEA. */ | 1800 PDEVMODEA. */ |
1801 return DocumentPropertiesW (hWnd, hPrinter, (LPWSTR) pDeviceName, | 1801 return DocumentPropertiesW (hWnd, hPrinter, (LPWSTR) pDeviceName, |
1802 (DEVMODEA *) pDevModeOutput, | 1802 (DEVMODEA *) pDevModeOutput, |
1803 (DEVMODEA *) pDevModeInput, fMode); | 1803 (DEVMODEA *) pDevModeInput, fMode); |
1804 #else | 1804 #else |