X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bedcdce08e1575b74250d2ebac4355a687ccf8d..270a909e20a2c652fd816ad14407113ad0319c9d:/src/common/longlong.cpp diff --git a/src/common/longlong.cpp b/src/common/longlong.cpp index 704f95e7f6..29a4f867b9 100644 --- a/src/common/longlong.cpp +++ b/src/common/longlong.cpp @@ -25,6 +25,8 @@ #pragma hdrstop #endif +#if wxUSE_LONGLONG + #include "wx/longlong.h" #include // 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