]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/longlong.cpp
test for timegm() added
[wxWidgets.git] / src / common / longlong.cpp
index fd0c992c3fc9a1f57b06cc8d9664c845b14643ed..29a4f867b95e32092db275a7208c451104e4a872 100644 (file)
@@ -57,6 +57,8 @@ void *wxLongLongNative::asArray(void) const
     return temp;
 }
 
+#if wxUSE_STD_IOSTREAM
+
 // input/output
 ostream& operator<< (ostream& o, const wxLongLongNative& ll)
 {
@@ -74,6 +76,8 @@ ostream& operator<< (ostream& o, const wxLongLongNative& ll)
     return o << result;
 }
 
+#endif // wxUSE_STD_IOSTREAM
+
 #endif // wxUSE_LONGLONG_NATIVE
 
 #if wxUSE_LONGLONG_WX
@@ -449,8 +453,9 @@ void *wxLongLongWx::asArray(void) const
     return temp;
 }
 
-// input/output
+#if wxUSE_STD_IOSTREAM
 
+// input/output
 ostream& operator<< (ostream& o, const wxLongLongWx& ll)
 {
     char result[65];
@@ -467,7 +472,8 @@ ostream& operator<< (ostream& o, const wxLongLongWx& ll)
 
     return o << result;
 }
-#endif
-  // wxUSE_LONGLONG_NATIVE
+#endif // wxUSE_STD_IOSTREAM
+
+#endif // wxUSE_LONGLONG_NATIVE
 
 #endif // wxUSE_LONGLONG