From 10544de9849f8704aaeb54388e9795f2273202a0 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Sat, 19 Sep 2009 23:00:15 +0200 Subject: Imported Upstream version 5.2.11.dfsg.1 --- ext/bcmath/php_bcmath.h | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'ext/bcmath/php_bcmath.h') diff --git a/ext/bcmath/php_bcmath.h b/ext/bcmath/php_bcmath.h index 78a9dc53c..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.4 2008/12/31 11:17: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 */ -- cgit v1.2.3