diff options
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index a3c6abd..a6196dc 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -3121,7 +3121,7 @@ namespace // we need to get length of entire file to load it in memory; the only (relatively) sane way to do it is via seek/tell trick xml_parse_status get_file_size(FILE* file, size_t& out_result) { - #if defined(MSVC_CRT_VERSION) && MSVC_CRT_VERSION >= 1400 + #if defined(MSVC_CRT_VERSION) && MSVC_CRT_VERSION >= 1400 && !defined(_WIN32_WCE) // there are 64-bit versions of fseek/ftell, let's use them typedef __int64 length_type; @@ -5802,7 +5802,7 @@ namespace } // gets mantissa digits in the form of 0.xxxxx with 0. implied and the exponent -#if defined(MSVC_CRT_VERSION) && MSVC_CRT_VERSION >= 1400 +#if defined(MSVC_CRT_VERSION) && MSVC_CRT_VERSION >= 1400 && !defined(_WIN32_WCE) void convert_number_to_mantissa_exponent(double value, char* buffer, size_t buffer_size, char** out_mantissa, int* out_exponent) { // get base values |