diff src/event-msw.c @ 1685:29c45c1b64f3

[xemacs-hg @ 2003-09-15 21:19:11 by james] Quiet compiler warnings on Cygwin.
author james
date Mon, 15 Sep 2003 21:19:17 +0000
parents bf2a986fcb17
children a4b5e2effaff
line wrap: on
line diff
--- a/src/event-msw.c	Mon Sep 15 20:21:47 2003 +0000
+++ b/src/event-msw.c	Mon Sep 15 21:19:17 2003 +0000
@@ -3793,7 +3793,7 @@
    But "cch" means "count of characters", not bytes.  I'll assume the doc
    writers messed up and the programmer was correct.  Also, this approach
    is safe even if it's actually the other way around. */
-#if defined (CYGWIN_HEADERS) && !defined (W32API_2_2)
+#if defined (CYGWIN_HEADERS) && W32API_INSTALLED_VER < W32API_VER(2,2)
 				/* Another Cygwin prototype error,
 				   fixed in v2.2 of w32api */
 				XECOMCALL4 (psl, GetPath, (LPSTR) resolved,