include/cf_fixup.h
author Jens Alfke <jens@mooseyard.com>
Tue Sep 29 15:46:42 2009 -0700 (2009-09-29)
changeset 9 629f61203db1
permissions -rw-r--r--
* Merged in jbm's changes for Linux compatibility, fixing Mac compatibility in the process :)
* Fixed two regressions having to do with the _previousTrailerPosition in VersionDictionary.cpp.
* Made sure RTTI is enabled in the OttomanTest target because gtest requires it.
jbm@8
     1
typedef double CFSwappedFloat64;
jbm@8
     2
jbm@8
     3
static inline CFSwappedFloat64 CFConvertDoubleHostToSwapped(double d) { return d; };
jbm@8
     4
static inline double CFConvertDoubleSwappedToHost(CFSwappedFloat64 d) { return d; };
jbm@8
     5
jbm@8
     6
#define OSSwapHostToLittleInt32(x) (x)
jbm@8
     7
#define OSSwapHostToLittleInt16(x) (x)
jbm@8
     8
#define OSSwapLittleToHostInt32(x) (x)
jbm@8
     9
#define OSSwapLittleToHostInt16(x) (x)