#include "wx/setup.h"
#include <math.h>
-#if USE_APPLE_IEEE
+#if wxUSE_APPLE_IEEE
/*
* C O N V E R T T O I E E E E X T E N D E D
}
}
+ /* disable the warning about 'possible loss of data' */
+ #ifdef _MSC_VER
+ #pragma warning(disable: 4244)
+ #endif /* Visual C++ */
+
bytes[0] = expon >> 8;
bytes[1] = expon;
bytes[2] = (unsigned char) hiMant >> 24;
bytes[7] = (unsigned char) loMant >> 16;
bytes[8] = (unsigned char) loMant >> 8;
bytes[9] = (unsigned char) loMant;
+
+ #ifdef _MSC_VER
+ #pragma warning(default: 4244)
+ #endif /* Visual C++ */
}
/*
return f;
}
-#endif
+#endif /* wxUSE_APPLE_IEEE */