Ticket #19386: patch-bytes.cpp.diff
File patch-bytes.cpp.diff, 355 bytes (added by vike2000, 16 years ago) |
---|
-
bytes.cpp
old new 31 31 32 32 #if __FLOAT_WORD_ORDER == __BYTE_ORDER 33 33 #if __BYTE_ORDER == __BIG_ENDIAN 34 res = dVal;34 res = *(uint64_t*)&dVal; 35 35 #elif __BYTE_ORDER == __LITTLE_ENDIAN 36 36 uint64_t in = *((uint64_t*)&dVal); 37 37 res = __bswap_64(in);