com php-src: fixed fetching $this: Zend/zend_compile.h

From: Date: Fri, 08 Nov 2013 21:36:30 +0000
Subject: com php-src: fixed fetching $this: Zend/zend_compile.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73902@lists.php.net to get a copy of this message
Commit: 5615326e1f216ee1d8884bdab89f0b79dfb76218 Author: Anatol Belski <ab@php.net> Fri, 8 Nov 2013 22:36:30 +0100 Parents: 11d4bcd706188c92bb5725e741726fae7d78e695 Branches: str_size_and_int64 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5615326e1f216ee1d8884bdab89f0b79dfb76218 Log: fixed fetching $this Changed paths: M Zend/zend_compile.h Diff: diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index bac6f7d..5b5807f 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -139,8 +139,12 @@ typedef struct _zend_try_catch_element { zend_uint finally_end; } zend_try_catch_element; -#if SIZEOF_LONG == 8 -#define THIS_HASHVAL 210728972157UL +#if SIZEOF_ZEND_INT == 8 +# ifdef _WIN32 +# define THIS_HASHVAL 210728972157Ui64 +# else +# define THIS_HASHVAL 210728972157ULL +# endif #else #define THIS_HASHVAL 275574653UL #endif

« previous php.cvs (#73902) next »