cvs: TSRM / tsrm_virtual_cwd.c tsrm_win32.c tsrm_win32.h
| From: | Wez Furlong | Date: | Mon, 22 Dec 2003 22:30:51 +0000 |
| Subject: | cvs: TSRM / tsrm_virtual_cwd.c tsrm_win32.c tsrm_win32.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2148@lists.php.net to get a copy of this message | ||
wez Mon Dec 22 17:30:51 2003 EDT
Modified files:
/TSRM tsrm_virtual_cwd.c tsrm_win32.c tsrm_win32.h
Log:
It seems that making the NewAPIs.h header globally visible causes
problems when compiling the com_dotnet extension, so I'm moving
it to be visible only to the VCWD code.
Thanks Frank :-)
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.58 TSRM/tsrm_virtual_cwd.c:1.59
--- TSRM/tsrm_virtual_cwd.c:1.58 Fri Dec 5 08:39:24 2003
+++ TSRM/tsrm_virtual_cwd.c Mon Dec 22 17:30:50 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.c,v 1.58 2003/12/05 13:39:24 wez Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.59 2003/12/22 22:30:50 wez Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@@ -34,6 +34,11 @@
#ifdef TSRM_WIN32
#include <io.h>
#include "tsrm_win32.h"
+# if HAVE_NEWAPIS_H
+# define WANT_GETLONGPATHNAME_WRAPPER
+# define COMPILE_NEWAPIS_STUBS
+# include <NewAPIs.h>
+# endif
#endif
#ifdef NETWARE
Index: TSRM/tsrm_win32.c
diff -u TSRM/tsrm_win32.c:1.24 TSRM/tsrm_win32.c:1.25
--- TSRM/tsrm_win32.c:1.24 Mon Dec 22 10:01:05 2003
+++ TSRM/tsrm_win32.c Mon Dec 22 17:30:50 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_win32.c,v 1.24 2003/12/22 15:01:05 wez Exp $ */
+/* $Id: tsrm_win32.c,v 1.25 2003/12/22 22:30:50 wez Exp $ */
#include <stdio.h>
#include <fcntl.h>
@@ -30,10 +30,6 @@
#ifdef TSRM_WIN32
-#if HAVE_NEWAPIS_H
-# define COMPILE_NEWAPIS_STUBS
-#endif
-
#include "tsrm_win32.h"
#ifdef ZTS
Index: TSRM/tsrm_win32.h
diff -u TSRM/tsrm_win32.h:1.16 TSRM/tsrm_win32.h:1.17
--- TSRM/tsrm_win32.h:1.16 Mon Dec 22 10:01:05 2003
+++ TSRM/tsrm_win32.h Mon Dec 22 17:30:50 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_win32.h,v 1.16 2003/12/22 15:01:05 wez Exp $ */
+/* $Id: tsrm_win32.h,v 1.17 2003/12/22 22:30:50 wez Exp $ */
#ifndef TSRM_WIN32_H
#define TSRM_WIN32_H
@@ -24,11 +24,6 @@
#include "TSRM.h"
#include <windows.h>
-#if HAVE_NEWAPIS_H
-# define WANT_GETLONGPATHNAME_WRAPPER
-# include <NewAPIs.h>
-#endif
-
struct ipc_perm {
int key;
unsigned short uid;