From: krakjoe Date: Thu, 14 Nov 2013 13:48:13 +0000 (+0000) Subject: fix for calculator hardware :) X-Git-Tag: php-5.6.0alpha1~110^2~337 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1107ccef99540dab8f6d69a402b9288db0474889;p=php fix for calculator hardware :) --- diff --git a/phpdbg.h b/phpdbg.h index ccec0b4bf3..48b3ab44c9 100644 --- a/phpdbg.h +++ b/phpdbg.h @@ -69,21 +69,21 @@ #define PHPDBG_BREAK_TABLES 5 /* }}} */ /* {{{ flags */ -#define PHPDBG_HAS_FILE_BP 0x000000000001 -#define PHPDBG_HAS_SYM_BP 0x000000000010 -#define PHPDBG_HAS_OPLINE_BP 0x000000000100 -#define PHPDBG_HAS_METHOD_BP 0x000000001000 -#define PHPDBG_HAS_COND_BP 0x000000010000 +#define PHPDBG_HAS_FILE_BP (1<<1) +#define PHPDBG_HAS_SYM_BP (1<<2) +#define PHPDBG_HAS_OPLINE_BP (1<<3) +#define PHPDBG_HAS_METHOD_BP (1<<4) +#define PHPDBG_HAS_COND_BP (1<<5) #define PHPDBG_BP_MASK (PHPDBG_HAS_FILE_BP|PHPDBG_HAS_SYM_BP|PHPDBG_HAS_METHOD_BP|PHPDBG_HAS_OPLINE_BP|PHPDBG_HAS_COND_BP) -#define PHPDBG_IN_COND_BP 0x000000100000 -#define PHPDBG_IN_EVAL 0x000001000000 +#define PHPDBG_IN_COND_BP (1<<6) +#define PHPDBG_IN_EVAL (1<<7) -#define PHPDBG_IS_STEPPING 0x000010000000 -#define PHPDBG_IS_QUIET 0x000100000000 -#define PHPDBG_IS_QUITTING 0x001000000000 -#define PHPDBG_IS_COLOURED 0x010000000000 -#define PHPDBG_IS_CLEANING 0x100000000000 +#define PHPDBG_IS_STEPPING (1<<8) +#define PHPDBG_IS_QUIET (1<<9) +#define PHPDBG_IS_QUITTING (1<<10) +#define PHPDBG_IS_COLOURED (1<<11) +#define PHPDBG_IS_CLEANING (1<<12) #ifndef _WIN32 # define PHPDBG_DEFAULT_FLAGS (PHPDBG_IS_QUIET|PHPDBG_IS_COLOURED)