include/Base.h
changeset 8 21a6c17f4e3e
parent 0 31a43d94cc26
child 9 629f61203db1
     1.1 --- a/include/Base.h	Sun Sep 20 15:14:12 2009 -0700
     1.2 +++ b/include/Base.h	Mon Sep 28 23:39:08 2009 -0700
     1.3 @@ -12,9 +12,20 @@
     1.4  #include <stdlib.h>
     1.5  #include <stdint.h>
     1.6  #include <string.h>
     1.7 +
     1.8 +#if OSX
     1.9 +/* OS X specific bits */
    1.10  #include <libkern/OSByteOrder.h>
    1.11  #include <CoreFoundation/CFByteOrder.h>
    1.12  
    1.13 +#else
    1.14 +/* OS X fixup kludge bits */
    1.15 +
    1.16 +#include <cf_fixup.h>
    1.17 +#include <stdint.h>
    1.18 +
    1.19 +#endif
    1.20 +
    1.21  namespace Mooseyard {
    1.22      
    1.23      /** A 32-bit file position/offset. Supports files of up to 4GB. */
    1.24 @@ -110,4 +121,4 @@
    1.25      
    1.26  }
    1.27  
    1.28 -#endif _MOOSEYARD_BASE_
    1.29 +#endif /* _MOOSEYARD_BASE_ */