]> git.saurik.com Git - wxWidgets.git/commitdiff
unicode targets cleanup for cw and xcode
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 8 Feb 2004 06:18:44 +0000 (06:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 8 Feb 2004 06:18:44 +0000 (06:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index ad9d3539908f4d82ceb1cee4ffca610c57b750e8..180062a19e46aafe3ddc9e62df2589a45c7fe0e2 100644 (file)
         #include <wctype.h>
 
         /* this is probably glibc-specific */
-        #if defined(__WCHAR_TYPE__)
+        #if defined(__WCHAR_TYPE__) && !defined(__MWERKS__)
             /* ctype.h functions (wctype.h) */
             #define  wxIsalnum   iswalnum
             #define  wxIsalpha   iswalpha
             #define  wxCtime     wctime
             /* #define  wxStrftime  wcsftime */
 
-            /*
-            #define wxNEED_FPUTWC
-
-            #include <stdio.h>
-
-            int wxFputs(const wxChar *ch, FILE *stream);
-            int wxPutc(wxChar ch, FILE *stream);
-
-            #define wxPuts(ws) wxFputs(ws, stdout)
-            #define wxPutchar(wch) wxPutc(wch, stdout)
-
-            #define wxNEED_PRINTF_CONVERSION
-            #define wxNEED_WX_STDIO_H
-            #define wxNEED_WX_STDLIB_H
-            */
             #define wxNEED_WX_TIME_H
         #else /* !metrowerks for apple */
             #error  "Please define wide character functions for your environment"