#pragma hdrstop
#endif
+#if wxUSE_LONGLONG
+
#include "wx/longlong.h"
#include <memory.h> // for memset()
return temp;
}
+#if wxUSE_STD_IOSTREAM
+
// input/output
ostream& operator<< (ostream& o, const wxLongLongNative& ll)
{
return o << result;
}
+#endif // wxUSE_STD_IOSTREAM
+
#endif // wxUSE_LONGLONG_NATIVE
#if wxUSE_LONGLONG_WX
// division
-void wxLongLongWx::Divide(const wxLongLongWx& divisor, wxLongLongWx& quotient, wxLongLongWx& remainder) const
+void wxLongLongWx::Divide(const wxLongLongWx& divisor,
+ wxLongLongWx& quotient,
+ wxLongLongWx& remainder) const
{
if ((divisor.m_lo == 0) && (divisor.m_hi == 0))
{
return temp;
}
-// input/output
+#if wxUSE_STD_IOSTREAM
+// input/output
ostream& operator<< (ostream& o, const wxLongLongWx& ll)
{
char result[65];
return o << result;
}
-#endif
- // wxUSE_LONGLONG_NATIVE
+#endif // wxUSE_STD_IOSTREAM
+
+#endif // wxUSE_LONGLONG_NATIVE
+#endif // wxUSE_LONGLONG