cvs: pecl(PECL_4_3) /rar/unrar filefn.cpp os.hpp
| From: | Antony Dovgal | Date: | Sun, 05 Sep 2004 06:11:48 +0000 |
| Subject: | cvs: pecl(PECL_4_3) /rar/unrar filefn.cpp os.hpp | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1786@lists.php.net to get a copy of this message | ||
tony2001 Sun Sep 5 02:11:48 2004 EDT
Modified files: (Branch: PECL_4_3)
/pecl/rar/unrar filefn.cpp os.hpp
Log:
fix undeclared clock() error
fix redeclaration of WINVER macro
http://cvs.php.net/diff.php/pecl/rar/unrar/filefn.cpp?r1=1.1.1.1&r2=1.1.1.1.2.1&ty=u
Index: pecl/rar/unrar/filefn.cpp
diff -u pecl/rar/unrar/filefn.cpp:1.1.1.1 pecl/rar/unrar/filefn.cpp:1.1.1.1.2.1
--- pecl/rar/unrar/filefn.cpp:1.1.1.1 Fri Jun 11 02:29:42 2004
+++ pecl/rar/unrar/filefn.cpp Sun Sep 5 02:11:47 2004
@@ -1,4 +1,7 @@
#include "rar.hpp"
+#ifdef _WIN_32
+#include <time.h>
+#endif
MKDIR_CODE MakeDir(const char *Name,const wchar *NameW,uint Attr)
{
http://cvs.php.net/diff.php/pecl/rar/unrar/os.hpp?r1=1.1.1.1&r2=1.1.1.1.2.1&ty=u
Index: pecl/rar/unrar/os.hpp
diff -u pecl/rar/unrar/os.hpp:1.1.1.1 pecl/rar/unrar/os.hpp:1.1.1.1.2.1
--- pecl/rar/unrar/os.hpp:1.1.1.1 Fri Jun 11 02:29:43 2004
+++ pecl/rar/unrar/os.hpp Sun Sep 5 02:11:47 2004
@@ -21,7 +21,7 @@
#ifdef _WIN_32
#define STRICT
-#define WINVER 0x0400
+#define _WINVER 0x0400
#define _WIN32_WINNT 0x0300
#define WIN32_LEAN_AND_MEAN