File tree Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -444,12 +444,8 @@ char *alloca();
444
444
#define MAX (a , b ) (((a)>(b))?(a):(b))
445
445
#define MIN (a , b ) (((a)<(b))?(a):(b))
446
446
447
- /* x86 instructions BT, SHL, SHR don't require masking */
448
- #if defined(__GNUC__ ) && (defined(__i386__ ) || defined(__x86_64__ )) || defined(ZEND_WIN32 )
449
- # define ZEND_BIT_TEST (bits , bit ) (((bits)[(bit) / (sizeof((bits)[0])*8)] >> (bit)) & 1)
450
- #else
451
- # define ZEND_BIT_TEST (bits , bit ) (((bits)[(bit) / (sizeof((bits)[0])*8)] >> ((bit) & (sizeof((bits)[0])*8-1))) & 1)
452
- #endif
447
+ #define ZEND_BIT_TEST (bits , bit ) \
448
+ (((bits)[(bit) / (sizeof((bits)[0])*8)] >> ((bit) & (sizeof((bits)[0])*8-1))) & 1)
453
449
454
450
/* We always define a function, even if there's a macro or expression we could
455
451
* alias, so that using it in contexts where we can't make function calls
Original file line number Diff line number Diff line change @@ -4735,20 +4735,19 @@ PHP_METHOD(DatePeriod, getDateInterval)
4735
4735
*/
4736
4736
PHP_METHOD (DatePeriod , getRecurrences )
4737
4737
{
4738
- php_period_obj * dpobj ;
4739
- php_date_obj * dateobj ;
4738
+ php_period_obj * dpobj ;
4740
4739
4741
- if (zend_parse_parameters_none () == FAILURE ) {
4742
- return ;
4743
- }
4740
+ if (zend_parse_parameters_none () == FAILURE ) {
4741
+ return ;
4742
+ }
4744
4743
4745
- dpobj = Z_PHPPERIOD_P (ZEND_THIS );
4744
+ dpobj = Z_PHPPERIOD_P (ZEND_THIS );
4746
4745
4747
- if (0 == dpobj -> recurrences - dpobj -> include_start_date ) {
4748
- return ;
4749
- }
4746
+ if (0 == dpobj -> recurrences - dpobj -> include_start_date ) {
4747
+ return ;
4748
+ }
4750
4749
4751
- RETURN_LONG (dpobj -> recurrences - dpobj -> include_start_date );
4750
+ RETURN_LONG (dpobj -> recurrences - dpobj -> include_start_date );
4752
4751
}
4753
4752
/* }}} */
4754
4753
You can’t perform that action at this time.
0 commit comments