com php-src: fix windows build: config.w32 phpdbg_utils.c tutorials/Thumbs.db
| From: | Bob Weinand | Date: | Sun, 17 Nov 2013 23:34:11 +0000 |
| Subject: | com php-src: fix windows build: config.w32 phpdbg_utils.c tutorials/Thumbs.db | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74865@lists.php.net to get a copy of this message | ||
Commit: ff2abccc4bb50e4a9a59315327c577acf1b7202e
Author: Joe Watkins <joe.watkins@live.co.uk> Sun, 17 Nov 2013 23:34:11 +0000
Parents: eef21c186cbd494392136a63a631ebc021b69d15
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ff2abccc4bb50e4a9a59315327c577acf1b7202e
Log:
fix windows build
fix windows build and add header
Changed paths:
M config.w32
M phpdbg_utils.c
A tutorials/Thumbs.db
Diff:
diff --git a/config.w32 b/config.w32
index b3893cc..955d229 100644
--- a/config.w32
+++ b/config.w32
@@ -1,6 +1,6 @@
ARG_ENABLE('phpdbg', 'Build phpdbg', 'yes');
if (PHP_PHPDBG == "yes") {
- SAPI('phpdbg', 'phpdbg.c phpdbg_prompt.c phpdbg_help.c phpdbg_break.c
phpdbg_print.c phpdbg_bp.c phpdbg_opcode.c phpdbg_list.c phpdbg_utils.c',
'phpdbg.exe');
+ SAPI('phpdbg', 'phpdbg.c phpdbg_prompt.c phpdbg_cmd.c phpdbg_info.c
phpdbg_help.c phpdbg_break.c phpdbg_print.c phpdbg_bp.c phpdbg_opcode.c phpdbg_list.c
phpdbg_utils.c', 'phpdbg.exe');
}
diff --git a/phpdbg_utils.c b/phpdbg_utils.c
index a368f9f..0828374 100644
--- a/phpdbg_utils.c
+++ b/phpdbg_utils.c
@@ -26,6 +26,10 @@
#include "phpdbg_opcode.h"
#include "phpdbg_utils.h"
+#ifdef _WIN32
+# include "win32/time.h"
+#endif
+
ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
int phpdbg_is_numeric(const char *str) /* {{{ */
diff --git a/tutorials/Thumbs.db b/tutorials/Thumbs..db
new file mode 100644
index 0000000..d64654a
Binary files /dev/null and b/tutorials/Thumbs.db differ