diff src/event-msw.c @ 1304:579d37cb4395

[xemacs-hg @ 2003-02-15 11:20:38 by ben] make-src-depend updated in previous checkin but omitted in patcher; this time just correct the usage note and check in the changelog
author ben
date Sat, 15 Feb 2003 11:20:40 +0000
parents f3437b56874d
children b531bf8658e9
line wrap: on
line diff
--- a/src/event-msw.c	Sat Feb 15 10:16:14 2003 +0000
+++ b/src/event-msw.c	Sat Feb 15 11:20:40 2003 +0000
@@ -3783,7 +3783,9 @@
    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. */
-#ifdef CYGWIN_HEADERS /* Another Cygwin prototype error */
+#if defined (CYGWIN_HEADERS) && !defined (W32API_2_2)
+				/* Another Cygwin prototype error,
+				   fixed in v2.2 of w32api */
 				XECOMCALL4 (psl, GetPath, (LPSTR) resolved,
 					    PATH_MAX, &wfd, 0)
 #else