]> granicus.if.org Git - php/commitdiff
fix for calculator hardware :)
authorkrakjoe <joe.watkins@live.co.uk>
Thu, 14 Nov 2013 13:48:13 +0000 (13:48 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Thu, 14 Nov 2013 13:48:13 +0000 (13:48 +0000)
phpdbg.h

index ccec0b4bf3fc756d01a6d830aac34a7305cab94c..48b3ab44c918ab100b984956baeb2e3d2aed49b6 100644 (file)
--- a/phpdbg.h
+++ b/phpdbg.h
 #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)