diff options
Diffstat (limited to 'ext/bcmath/php_bcmath.h')
| -rw-r--r-- | ext/bcmath/php_bcmath.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/ext/bcmath/php_bcmath.h b/ext/bcmath/php_bcmath.h index 1e8b03d66..49cdc1af0 100644 --- a/ext/bcmath/php_bcmath.h +++ b/ext/bcmath/php_bcmath.h @@ -16,13 +16,11 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_bcmath.h,v 1.20.2.1.2.2.2.2 2008/12/31 11:15:35 sebastian Exp $ */ +/* $Id: php_bcmath.h 287499 2009-08-20 11:19:20Z jani $ */ #ifndef PHP_BCMATH_H #define PHP_BCMATH_H -#if HAVE_BCMATH - #include "libbcmath/src/bcmath.h" extern zend_module_entry bcmath_module_entry; @@ -50,18 +48,12 @@ ZEND_BEGIN_MODULE_GLOBALS(bcmath) long bc_precision; ZEND_END_MODULE_GLOBALS(bcmath) -#if ZTS -#define BCG(v) TSRMG(bcmath_globals_id, zend_bcmath_globals *, v) +#ifdef ZTS +# define BCG(v) TSRMG(bcmath_globals_id, zend_bcmath_globals *, v) #else -#define BCG(v) (bcmath_globals.v) +# define BCG(v) (bcmath_globals.v) #endif ZEND_EXTERN_MODULE_GLOBALS(bcmath) -#else - -#define phpext_bcmath_ptr NULL - -#endif - #endif /* PHP_BCMATH_H */ |
