- Timestamp:
- Jun 10, 2010, 6:28:51 PM (16 years ago)
- Location:
- branches/czw_branch/20100519
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100519
- Property svn:mergeinfo changed
-
branches/czw_branch/20100519/Ohana
- Property svn:mergeinfo set to
-
branches/czw_branch/20100519/Ohana/src/libohana/include/ohana.h
r27484 r28304 94 94 }; 95 95 96 /* note: in the Ohana tree, the byte order is determined by the ARCH variable 97 if you have a small endian machine that is not listed here, the test 98 program 'typestest' should fail */ 99 # ifndef BYTE_SWAP 100 # ifdef linux 101 # define BYTE_SWAP 102 # endif 103 104 # ifdef lin64 105 # define BYTE_SWAP 106 # endif 107 108 # ifdef sid 109 # define BYTE_SWAP 110 # endif 111 112 # if defined(darwin_x86) || defined(_DARWIN_C_SOURCE) 113 # define BYTE_SWAP 114 # endif 115 116 # ifdef dec 117 # define BYTE_SWAP 118 # endif 119 # else 120 # define NOT_BYTE_SWAP 121 # endif /* BYTE_SWAP */ 122 96 123 # ifndef NAN 97 124 # ifndef BYTE_SWAP … … 103 130 __attribute_used__ = { __nan_bytes }; 104 131 # define NAN (__nan_union.__d) 132 # endif 133 134 /* if your build crashes on OFF_T_MODE, you probably need to add your 64bit hardware to this list */ 135 # ifdef _LARGEFILE_SOURCE 136 # define OFF_T_FMT "%jd" 137 # endif 138 # ifdef lin64 139 # define OFF_T_FMT "%jd" 140 # endif 141 # ifdef _DARWIN_C_SOURCE 142 # define OFF_T_FMT "%jd" 143 #endif 144 # ifndef OFF_T_FMT 145 # define OFF_T_FMT "%ld" 146 # endif 147 148 # ifndef isfinite 149 # define isfinite(A) (!isnan(A)) 105 150 # endif 106 151
Note:
See TracChangeset
for help on using the changeset viewer.
