include/cf_fixup.h
author jbm@humility
Mon Sep 28 23:39:08 2009 -0700 (2009-09-28)
changeset 8 21a6c17f4e3e
permissions -rw-r--r--
jbm: it compiles... but bombs in unit tests
     1 typedef double CFSwappedFloat64;
     2 
     3 static inline CFSwappedFloat64 CFConvertDoubleHostToSwapped(double d) { return d; };
     4 static inline double CFConvertDoubleSwappedToHost(CFSwappedFloat64 d) { return d; };
     5 
     6 #define OSSwapHostToLittleInt32(x) (x)
     7 #define OSSwapHostToLittleInt16(x) (x)
     8 #define OSSwapLittleToHostInt32(x) (x)
     9 #define OSSwapLittleToHostInt16(x) (x)