com php-src: fix for calculator hardware :): phpdbg.h
| From: | Bob Weinand | Date: | Thu, 14 Nov 2013 13:48:13 +0000 |
| Subject: | com php-src: fix for calculator hardware :): phpdbg.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74973@lists.php.net to get a copy of this message | ||
Commit: 1107ccef99540dab8f6d69a402b9288db0474889
Author: krakjoe <joe.watkins@live.co.uk> Thu, 14 Nov 2013 13:48:13 +0000
Parents: 22a3a2394f46c4739d0d29c660717b7d8ad67c4d
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1107ccef99540dab8f6d69a402b9288db0474889
Log:
fix for calculator hardware :)
Changed paths:
M phpdbg.h
Diff:
diff --git a/phpdbg.h b/phpdbg.h
index ccec0b4..48b3ab4 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)