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 2001/06/05 21:43:18 UTC
cvs commit: xml-xerces/c/tests/IThreadTest IThreadTest.cpp
tng 01/06/05 12:43:18
Modified: c/tests/IThreadTest IThreadTest.cpp
Log:
Guard Windows specific stuff under PLATFORM_WIN32
Revision Changes Path
1.3 +9 -1 xml-xerces/c/tests/IThreadTest/IThreadTest.cpp
Index: IThreadTest.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/IThreadTest/IThreadTest.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- IThreadTest.cpp 2001/06/04 14:55:43 1.2
+++ IThreadTest.cpp 2001/06/05 19:43:18 1.3
@@ -55,7 +55,7 @@
*/
/*
-* $Id: IThreadTest.cpp,v 1.2 2001/06/04 14:55:43 tng Exp $
+* $Id: IThreadTest.cpp,v 1.3 2001/06/05 19:43:18 tng Exp $
*/
#include <stdlib.h>
@@ -813,7 +813,11 @@
extern "C" {
#endif
+#ifdef PLATFORM_WIN32
unsigned long WINAPI threadMain (void *param)
+#else
+void threadMain (void *param)
+#endif
{
ThreadInfo *thInfo = (ThreadInfo *)param;
ThreadParser *thParser = 0;
@@ -872,7 +876,11 @@
}
delete thParser;
+#ifdef PLATFORM_WIN32
return 0;
+#else
+ return;
+#endif
}
#ifdef OS390
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org