]> git.saurik.com Git - wxWidgets.git/commitdiff
there is no std::wostream under Palm (part of ticket 4700)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 May 2008 16:38:12 +0000 (16:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 May 2008 16:38:12 +0000 (16:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 3d34d267b23adccc922cbfeab0315f9e1a6e8661..22afbab35e262c70c855c46128867c190a85bad1 100644 (file)
@@ -456,8 +456,10 @@ typedef short int WXTYPE;
 
 
 #ifndef HAVE_WOSTREAM
-    // Mingw <=3.4 doesn't have std::wostream
-    #if defined(__MINGW32__) && !wxCHECK_GCC_VERSION(4,0)
+    // Mingw <= 3.4 and any version (so far) when targetting PalmOS don't have
+    // std::wostream
+    #if defined(__PALMOS__) || \
+        (defined(__MINGW32__) && !wxCHECK_GCC_VERSION(4, 0))
         #define wxNO_WOSTREAM
     #endif