You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2003/01/03 17:02:12 UTC
cvs commit: xml-xerces/c/src/xercesc/util/Platforms/Solaris SolarisPlatformUtils.cpp
tng 2003/01/03 08:02:12
Modified: c/src/xercesc/util/Platforms/Solaris
SolarisPlatformUtils.cpp
Log:
Fix compilationation error with C++ namespace using g++ on Solaris
Revision Changes Path
1.9 +6 -6 xml-xerces/c/src/xercesc/util/Platforms/Solaris/SolarisPlatformUtils.cpp
Index: SolarisPlatformUtils.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Solaris/SolarisPlatformUtils.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SolarisPlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.8
+++ SolarisPlatformUtils.cpp 3 Jan 2003 16:02:12 -0000 1.9
@@ -109,6 +109,11 @@
#include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
#endif
+
+#if defined (SOLARIS)
+extern "C" int ftime(struct timeb *); // Solaris headers missing this decl
+#endif
+
XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
@@ -501,11 +506,6 @@
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Timing Methods
// ---------------------------------------------------------------------------
-
-#if defined (SOLARIS)
-extern "C" int ftime(struct timeb *); // Solaris headers missing this decl
-#endif
-
unsigned long XMLPlatformUtils::getCurrentMillis()
{
timeb aTime;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org