Revert "Fix for OS X 10.5 compile error wrt llabs()"

This reverts commit 3f6aa735e9.

Using abs() does not work if the integer is >2^32 (or <2^32).
Will add a new fix in next commit.
This commit is contained in:
Gregor Maier 2011-02-09 15:40:36 -08:00
parent 2f7fa3470b
commit 104c7da205
3 changed files with 1 additions and 33 deletions

View file

@ -515,11 +515,7 @@ Val* Val::SizeVal() const
{
switch ( type->InternalType() ) {
case TYPE_INTERNAL_INT:
#ifdef DARWIN_NO_LLABS
return new Val(abs(val.int_val), TYPE_COUNT);
#else
return new Val(llabs(val.int_val), TYPE_COUNT);
#endif
case TYPE_INTERNAL_UNSIGNED:
return new Val(val.uint_val, TYPE_COUNT);