cvs: TSRM(PHP_5_3) / tsrm_virtual_cwd.c
| From: | Pierre-Alain Joye | Date: | Tue, 16 Jun 2009 21:54:13 +0000 |
| Subject: | cvs: TSRM(PHP_5_3) / tsrm_virtual_cwd.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-7686@lists.php.net to get a copy of this message | ||
pajoye Tue Jun 16 21:54:13 2009 UTC
Modified files: (Branch: PHP_5_3)
/TSRM tsrm_virtual_cwd.c
Log:
- fix build when IO_REPARSE_TAG_SYMLINK is not defined (works with 2k+)
http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.74.2.9.2.35.2.20&r2=1.74.2.9.2.35.2.21&diff_format=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.35.2.20 TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.35.2.21
--- TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.35.2.20 Tue Jun 16 00:13:56 2009
+++ TSRM/tsrm_virtual_cwd.c Tue Jun 16 21:54:12 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.35.2.20 2009/06/16 00:13:56 pajoye Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.35.2.21 2009/06/16 21:54:12 pajoye Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@@ -35,6 +35,9 @@
#ifdef TSRM_WIN32
#include <io.h>
#include "tsrm_win32.h"
+# ifndef IO_REPARSE_TAG_SYMLINK
+# define IO_REPARSE_TAG_SYMLINK 0xA000000C
+# endif
#endif
#ifdef NETWARE