Changeset: e421d1226353 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e421d1226353
Modified Files:
        common/stream/stream.c
Branch: embedded
Log Message:

Byteorder


diffs (12 lines):

diff --git a/common/stream/stream.c b/common/stream/stream.c
--- a/common/stream/stream.c
+++ b/common/stream/stream.c
@@ -128,7 +128,7 @@
 #define UTF8BOM                "\xEF\xBB\xBF" /* UTF-8 encoding of Unicode BOM 
*/
 #define UTF8BOMLENGTH  3              /* length of above */
 
-#ifdef _MSC_VER
+#ifdef WIN32
 /* use intrinsic functions on Windows */
 #define short_int_SWAP(s)      ((short) _byteswap_ushort((unsigned short) (s)))
 /* on Windows, long is the same size as int */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to