X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e57b0d49515043e7b4083eb596ac5044ccb950e..270a909e20a2c652fd816ad14407113ad0319c9d:/src/common/longlong.cpp diff --git a/src/common/longlong.cpp b/src/common/longlong.cpp index fd0c992c3f..29a4f867b9 100644 --- a/src/common/longlong.cpp +++ b/src/common/longlong.cpp @@ -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