Changeset 16400 in vbox for trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_darwin.cfg
- Timestamp:
- Jan 30, 2009 12:47:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_darwin.cfg
r589 r16400 49 49 #define PR_AF_INET6 30 /* same as AF_INET6 */ 50 50 51 #if defined(i386) 51 #if defined(i386) || defined(__amd64__) 52 52 #undef IS_BIG_ENDIAN 53 53 #define IS_LITTLE_ENDIAN 1 … … 58 58 59 59 #define HAVE_LONG_LONG 60 #if defined(__amd64__) 61 #define HAVE_ALIGNED_DOUBLES 62 #else 60 63 #undef HAVE_ALIGNED_DOUBLES 64 #endif 61 65 #define HAVE_ALIGNED_LONGLONGS 1 62 66 … … 65 69 #define PR_BYTES_PER_INT 4 66 70 #define PR_BYTES_PER_INT64 8 71 #if defined(__amd64__) 72 #define PR_BYTES_PER_LONG 8 73 #else 67 74 #define PR_BYTES_PER_LONG 4 75 #endif 68 76 #define PR_BYTES_PER_FLOAT 4 69 77 #define PR_BYTES_PER_DOUBLE 8 … … 77 85 #define PR_BITS_PER_INT 32 78 86 #define PR_BITS_PER_INT64 64 87 #if defined(__amd64__) 88 #define PR_BITS_PER_LONG 64 89 #else 79 90 #define PR_BITS_PER_LONG 32 91 #endif 80 92 #define PR_BITS_PER_FLOAT 32 81 93 #define PR_BITS_PER_DOUBLE 64 … … 87 99 #define PR_BITS_PER_INT_LOG2 5 88 100 #define PR_BITS_PER_INT64_LOG2 6 101 #if defined(__amd64__) 102 #define PR_BITS_PER_LONG_LOG2 6 103 #else 89 104 #define PR_BITS_PER_LONG_LOG2 5 105 #endif 90 106 #define PR_BITS_PER_FLOAT_LOG2 5 91 107 #define PR_BITS_PER_DOUBLE_LOG2 6 … … 94 110 #define PR_ALIGN_OF_SHORT 2 95 111 #define PR_ALIGN_OF_INT 4 112 #if defined(__amd64__) 113 #define PR_ALIGN_OF_LONG 8 114 #define PR_ALIGN_OF_INT64 8 115 #define PR_ALIGN_OF_FLOAT 8 116 #define PR_ALIGN_OF_DOUBLE 8 117 #define PR_ALIGN_OF_POINTER 8 118 #else 96 119 #define PR_ALIGN_OF_LONG 4 97 120 #define PR_ALIGN_OF_INT64 4 … … 99 122 #define PR_ALIGN_OF_DOUBLE 4 100 123 #define PR_ALIGN_OF_POINTER 4 124 #endif 101 125 102 126 #ifndef NO_NSPR_10_SUPPORT
Note:
See TracChangeset
for help on using the changeset viewer.