Changeset 35556
- Timestamp:
- 2021-10-12T16:45:01+13:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/packages/javagdbm/jni/gdbmjava.c
r35554 r35556 124 124 125 125 # else 126 # error Windows OS neither 32-bit nor 64-bit. SIZEOF_VOID_P not specified126 #error "VisualStudio C compile neither 32-bit nor 64-bit. SIZEOF_VOID_P not specified" 127 127 # endif 128 128 129 # else /* Presumably Unix */ 130 # if defined( __ILP32 ) /* i.e., int, long and pointer are all 32-bits */ 129 # elif defined ( __GNUC__ ) /* Presumably Unix or Unix-like platform */ 130 131 # if defined( __i386__ ) /* i.e., ILP32: int, long and pointer are all 32-bits */ 131 132 # define SIZEOF_VOID_P 4 132 133 133 # elif defined( __ LP64 ) /* i.e.,long, and pointer are both 64-bits */134 # elif defined( __X86_64__ ) /* i.e., LP64: long, and pointer are both 64-bits */ 134 135 # define SIZEOF_VOID_P 8 135 136 136 137 # else 137 # error Compiler's 'sizeof' model not matched as either IILP32 or LP64. SIZEOF_VOID_P not specified138 #error "GCC 'sizeof' model not matched as either ILP32 (32-bit) or LP64 (64-bit). SIZEOF_VOID_P not specified" 138 139 # endif 140 141 # else 142 #error "Unrecognized compiler: SIZEOF_LONG not specified" 143 139 144 # endif 140 145 #endif … … 151 156 152 157 # else 153 # error Windows OS neither 32-bit nor 64-bit. SIZEOF_LONG not specified158 #error "VisualStudio C compiler neither 32-bit nor 64-bit. SIZEOF_LONG not specified" 154 159 # endif 155 160 156 # el se /* Presumably Unix*/157 # if defined( __ ILP32)161 # elif __GNUC__ /* Presumably Unix or Unix-like platform */ 162 # if defined( __i386__ ) 158 163 # define SIZEOF_LONG 4 159 164 160 # elif defined( __ LP64)165 # elif defined( __X86_64__ ) 161 166 # define SIZEOF_LONG 8 162 167 163 168 # else 164 # error Compiler's 'sizeof' model not matched as either IILP32 or LP64. SIZEOF_LONG not specified169 #error "GCC 'sizeof' model not matched as either ILP32 (32-bit) or LP64 (64-bit_. SIZEOF_LONG not specified" 165 170 # endif 171 172 # else 173 #error "Unrecognized compiler: SIZEOF_LONG not specified" 166 174 # endif 167 175 #endif
Note:
See TracChangeset
for help on using the changeset viewer.