diff options
author | Sean Finney <seanius@debian.org> | 2009-09-19 23:00:15 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2009-09-19 23:00:15 +0200 |
commit | 10544de9849f8704aaeb54388e9795f2273202a0 (patch) | |
tree | bc8df5cffe263633f72ae3119f5127a94e0e323d /ext/bcmath/php_bcmath.h | |
parent | c785001d106afb1d4eb98c811a1bf2e4e06065bf (diff) | |
download | php-10544de9849f8704aaeb54388e9795f2273202a0.tar.gz |
Imported Upstream version 5.2.11.dfsg.1upstream/5.2.11.dfsg.1
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 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 */ |