]> git.pld-linux.org Git - packages/php.git/blob - php-gcc4.patch
- cosmetics
[packages/php.git] / php-gcc4.patch
1 --- php-5.0.3/TSRM/TSRM.h.orig  2003-12-03 15:26:41.000000000 +0100
2 +++ php-5.0.3/TSRM/TSRM.h       2005-02-13 20:57:08.000000000 +0100
3 @@ -151,7 +151,7 @@
4  
5  #define TSRMLS_FETCH()                 void ***tsrm_ls = (void ***) ts_resource_ex(0, NULL)
6  #define TSRMLS_FETCH_FROM_CTX(ctx)     void ***tsrm_ls = (void ***) ctx
7 -#define TSRMLS_SET_CTX(ctx)            (void ***) ctx = tsrm_ls
8 +#define TSRMLS_SET_CTX(ctx)            ctx = tsrm_ls
9  #define TSRMG(id, type, element)       (((type) (*((void ***) tsrm_ls))[TSRM_UNSHUFFLE_RSRC_ID(id)])->element)
10  #define TSRMLS_D       void ***tsrm_ls
11  #define TSRMLS_DC      , TSRMLS_D
This page took 0.023529 seconds and 3 git commands to generate.