]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/longlong.h
wxSIZE_T_IS_UINT definition fix for mingw32 cross-compile
[wxWidgets.git] / include / wx / longlong.h
index 0945d472cb45ea5d76c003bfc625083f28f0df57..621abc3e3dd2f1c8799c7637732abe2fe903a0fe 100644 (file)
     #endif
 
     class WXDLLEXPORT wxLongLongWx;
+#if defined(__VISUALC__) && !defined(__WIN32__)
+    #define wxLongLong wxLongLongWx
+#else
     typedef wxLongLongWx wxLongLong;
+#endif
+
 #else
     // if nothing is defined, use native implementation by default, of course
     #ifndef wxUSE_LONGLONG_NATIVE
@@ -303,7 +308,7 @@ public:
 
 #if wxUSE_STD_IOSTREAM
         // input/output
-    friend ostream& operator<<(ostream&, const wxLongLongNative&);
+    friend wxSTD ostream& operator<<(wxSTD ostream&, const wxLongLongNative&);
 #endif
 
 private:
@@ -485,7 +490,7 @@ public:
 
     // input/output
 #if wxUSE_STD_IOSTREAM
-    friend ostream& operator<<(ostream&, const wxLongLongWx&);
+    friend wxSTD ostream& operator<<(wxSTD ostream&, const wxLongLongWx&);
 #endif // wxUSE_STD_IOSTREAM
 
     void *asArray() const;