]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/longlong.cpp
test for timegm() added
[wxWidgets.git] / src / common / longlong.cpp
index 704f95e7f6f8a5cd9708565596425936c82900db..29a4f867b95e32092db275a7208c451104e4a872 100644 (file)
@@ -25,6 +25,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_LONGLONG
+
 #include "wx/longlong.h"
 
 #include <memory.h>     // for memset()
@@ -55,6 +57,8 @@ void *wxLongLongNative::asArray(void) const
     return temp;
 }
 
+#if wxUSE_STD_IOSTREAM
+
 // input/output
 ostream& operator<< (ostream& o, const wxLongLongNative& ll)
 {
@@ -72,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
@@ -447,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];
@@ -465,6 +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