tng 2002/08/21 12:44:17
Modified: c/src/xercesc/util/Platforms/Win32 Makefile.in
Win32PlatformUtils.cpp
Log:
[Bug 6467] Installing Xerces C++ on cygwin environment.
Revision Changes Path
1.2 +5 -2 xml-xerces/c/src/xercesc/util/Platforms/Win32/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Win32/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile.in 19 Aug 2002 18:35:56 -0000 1.1
+++ Makefile.in 21 Aug 2002 19:44:17 -0000 1.2
@@ -54,6 +54,9 @@
# <http://www.apache.org/>.
#
# $Log$
+# Revision 1.2 2002/08/21 19:44:17 tng
+# [Bug 6467] Installing Xerces C++ on cygwin environment.
+#
# Revision 1.1 2002/08/19 18:35:56 tng
# [Bug 6467] Installing Xerces C++ on cygwin environment.
#
@@ -84,7 +87,7 @@
CXXFLAGS += -D_GNU_SOURCE -D__USE_GNU
ifeq (${PLATFORM}, CYGWIN)
CXXFLAGS += -D__CYGWIN__
-#endif
+endif
CPP_PUBHEADERS = Win32Defs.hpp
CPP_OBJECTS = Win32PlatformUtils.$(TO)
1.8 +4 -4
xml-xerces/c/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp
Index: Win32PlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Win32PlatformUtils.cpp 19 Aug 2002 18:35:56 -0000 1.7
+++ Win32PlatformUtils.cpp 21 Aug 2002 19:44:17 -0000 1.8
@@ -427,7 +427,7 @@
{
retVal = ::CreateFileW
(
- nameToOpen
+ (LPCWSTR) nameToOpen
, GENERIC_WRITE
, 0 // no shared write
, 0
@@ -568,7 +568,7 @@
XMLCh tmpPath[bufSize + 1];
XMLCh* namePart = 0;
- if (!::GetFullPathNameW((LPCWSTR)srcPath, bufSize, tmpPath, &namePart))
+ if (!::GetFullPathNameW((LPCWSTR)srcPath, bufSize, (LPWSTR)tmpPath,
(LPWSTR*)&namePart))
return 0;
// Return a copy of the path
@@ -805,7 +805,7 @@
// the system APIs are not C++ aware in all cases.
//
- return ::InterlockedCompareExchange(toFill, (void*)newValue, (void*)toCompare);
+ return (void*) ::InterlockedCompareExchange((LPLONG)toFill, (LONG)newValue,
(LONG)toCompare);
#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]