changeset 4538:112f6ed44299

Allow compilation under Cygwin 1.7
author acs@samwise
date Sat, 27 Dec 2008 21:23:16 -0500
parents 7ca6d57ce12d
children 0c410b5b387a 9b3f398ebfb7
files src/ChangeLog src/syswindows.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Dec 27 15:30:50 2008 +0000
+++ b/src/ChangeLog	Sat Dec 27 21:23:16 2008 -0500
@@ -1,3 +1,8 @@
+2008-12-27  Vin Shelton  <acs@xemacs.org>
+
+	* syswindows.h: Don't define wide character interfaces for Cygwin
+	1.7 and up.
+
 2008-12-22  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* symbols.c (Fdefine_function): 
--- a/src/syswindows.h	Sat Dec 27 15:30:50 2008 +0000
+++ b/src/syswindows.h	Sat Dec 27 21:23:16 2008 -0500
@@ -479,7 +479,7 @@
 #define BIF_NEWDIALOGSTYLE 64
 #endif
 
-#ifdef CYGWIN
+#if defined (CYGWIN) && (CYGWIN_VERSION_DLL_COMBINED < 190)
 
 /* All but wcscmp and wcslen left out of Cygwin headers -- but present
    in /usr/include/mingw/string.h! */