cvs: pecl /apd php_apd.c win32compat.h
| From: | Frank M. Kromann | Date: | Wed, 10 Mar 2004 17:55:11 +0000 |
| Subject: | cvs: pecl /apd php_apd.c win32compat.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1043@lists.php.net to get a copy of this message | ||
fmk Wed Mar 10 12:55:11 2004 EDT
Modified files:
/pecl/apd php_apd.c win32compat.h
Log:
Fix win32 compilation
http://cvs.php.net/diff.php/pecl/apd/php_apd.c?r1=1.56&r2=1.57&ty=u
Index: pecl/apd/php_apd.c
diff -u pecl/apd/php_apd.c:1.56 pecl/apd/php_apd.c:1.57
--- pecl/apd/php_apd.c:1.56 Wed Mar 10 11:40:55 2004
+++ pecl/apd/php_apd.c Wed Mar 10 12:55:11 2004
@@ -530,7 +530,7 @@
zval **object_ptr_ptr;
zend_execute_data *execd;
- execd = executor_globals.current_execute_data;
+ execd = EG(current_execute_data);
fname = apd_get_active_function_name(execd->op_array TSRMLS_CC);
trace_function_entry(EG(function_table), fname, ZEND_INTERNAL_FUNCTION,
zend_get_executed_filename(TSRMLS_C),
http://cvs.php.net/diff.php/pecl/apd/win32compat.h?r1=1.6&r2=1.7&ty=u
Index: pecl/apd/win32compat.h
diff -u pecl/apd/win32compat.h:1.6 pecl/apd/win32compat.h:1.7
--- pecl/apd/win32compat.h:1.6 Wed Mar 10 11:40:55 2004
+++ pecl/apd/win32compat.h Wed Mar 10 12:55:11 2004
@@ -15,13 +15,14 @@
* *
*****************************************************************************/
-/* $Id: win32compat.h,v 1.6 2004/03/10 16:40:55 gschlossnagle Exp $ */
+/* $Id: win32compat.h,v 1.7 2004/03/10 17:55:11 fmk Exp $ */
/* Include stuff ************************************************************ */
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winsock2.h>
+#include <errno.h>
#include <time.h>
/* Struct stuff ************************************************************* */