From b0d5fbcc6c5077665447fc6bd5078159a9985a3f Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Tue, 9 Jun 2009 05:10:06 +0000 Subject: [PATCH] remove Blender-hack for older compilers (just apply the hack only in the Blender copy of Bullet) --- src/LinearMath/btScalar.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/LinearMath/btScalar.h b/src/LinearMath/btScalar.h index 94ddfd86b..6261922cd 100644 --- a/src/LinearMath/btScalar.h +++ b/src/LinearMath/btScalar.h @@ -155,14 +155,6 @@ inline int btGetVersion() #endif //__CELLOS_LV2__ #endif -/// older compilers (gcc 3.x) and Sun needs double version of sqrt etc. -/// exclude Apple Intel (i's assumed to be a Macbook or new Intel Dual Core Processor) -#if defined (__sun) || defined (__sun__) || defined (__sparc) || (defined (__APPLE__) && ! defined (__i386__)) -//use slow double float precision operation on those platforms -#ifndef BT_USE_DOUBLE_PRECISION -#define BT_FORCE_DOUBLE_FUNCTIONS -#endif -#endif ///The btScalar type abstracts floating point numbers, to easily switch between double and single floating point precision. #if defined(BT_USE_DOUBLE_PRECISION)