Skip to content

Commit

Permalink
CONFIGURE: Better test for 32-bitness courtsey of LordHoto
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Jan 8, 2012
1 parent 0024228 commit fed0ef3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configure
Expand Up @@ -1711,9 +1711,7 @@ EOF
pointer_is_32bit() {
cat > tmp_pointer_is_32bit.cpp << EOF
int main() {
void *p;
int v = (int)p;
return 0;
static int test_array[1 - 2 * !(sizeof(void *) == 4)];
}
EOF
$CXX $CXXFLAGS -c -o $TMPO.o tmp_pointer_is_32bit.cpp 2>/dev/null
Expand Down

0 comments on commit fed0ef3

Please sign in to comment.