Patch to configure.in for DJGPP v2.04

Gordon.Schumacher at seagate.com Gordon.Schumacher at seagate.com
Thu Mar 1 11:31:20 PST 2007


This allows Unicode support under DJGPP/MGL:

--- configure.in.orig   2006-12-11 14:49:40.000000000 -0700
+++ configure.in  2007-03-01 12:17:33.468750000 -0700
@@ -1891,7 +1891,9 @@
     [
         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2
) || __GNUC__ >= 3 )
-        #  error "fake wchar_t"
+        #  if ((__DJGPP__ < 2) || ((__DJGPP__ == 2) && (__DJGPP_MINOR__ <
4)))
+        #    error "fake wchar_t"
+        #  endif
         #endif
         #ifdef HAVE_WCHAR_H
         #  ifdef __CYGWIN__





More information about the wx-users mailing list