diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
commit | d87cc976e1156b839fc6d4aa6b473a126802b8e3 (patch) | |
tree | 8acb068dd7458e1c8df3a7d8ecb87d065990fdb1 /ext/pdf | |
parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/pdf')
-rw-r--r-- | ext/pdf/php_pdf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/pdf/php_pdf.h b/ext/pdf/php_pdf.h index f04431a5e2..d1dfb5a373 100644 --- a/ext/pdf/php_pdf.h +++ b/ext/pdf/php_pdf.h @@ -169,10 +169,9 @@ PHP_FUNCTION(pdf_setmatrix); #ifdef ZTS #define PDFG(v) (pdf_globals->v) -#define PDFLS_FETCH() php_pdf_globals *pdf_globals = ts_resource(pdf_globals_id) +#define PDFG(v) TSRMG(pdf_globals_id, php_pdf_globals *, v) #else #define PDFG(v) (pdf_globals.v) -#define PDFLS_FETCH() #endif |