[sword-svn] r1765 - in trunk: include lib/vcppmake/vc6

scribe at crosswire.org scribe at crosswire.org
Fri Apr 8 16:02:45 MST 2005


Author: scribe
Date: 2005-04-08 16:02:44 -0700 (Fri, 08 Apr 2005)
New Revision: 1765

Modified:
   trunk/include/filemgr.h
   trunk/lib/vcppmake/vc6/libsword.dsp
Log:
Added David's patch to make MSVC++ work again


Modified: trunk/include/filemgr.h
===================================================================
--- trunk/include/filemgr.h	2005-04-08 16:36:04 UTC (rev 1764)
+++ trunk/include/filemgr.h	2005-04-08 23:02:44 UTC (rev 1765)
@@ -35,6 +35,15 @@
 #define O_BINARY 0
 #endif
 
+#ifndef S_IREAD
+// Fix for VC6
+#ifdef _S_IREAD
+#define S_IREAD _S_IREAD
+#define S_IWRITE _S_IWRITE
+#endif
+//
+#endif
+
 class SWDLLEXPORT FileMgr;
 
 /**

Modified: trunk/lib/vcppmake/vc6/libsword.dsp
===================================================================
--- trunk/lib/vcppmake/vc6/libsword.dsp	2005-04-08 16:36:04 UTC (rev 1764)
+++ trunk/lib/vcppmake/vc6/libsword.dsp	2005-04-08 23:02:44 UTC (rev 1765)
@@ -571,6 +571,10 @@
 # End Source File
 # Begin Source File
 
+SOURCE=..\..\..\src\utilfuns\url.cpp
+# End Source File
+# Begin Source File
+
 SOURCE=..\..\..\src\modules\filters\utf16utf8.cpp
 # End Source File
 # Begin Source File
@@ -1147,6 +1151,10 @@
 # End Source File
 # Begin Source File
 
+SOURCE=..\..\..\include\url.h
+# End Source File
+# Begin Source File
+
 SOURCE=..\..\..\include\utf16utf8.h
 # End Source File
 # Begin Source File



More information about the sword-cvs mailing list