Update of /cvsroot/cppunit/cppunit2/include/cpptl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10940
Modified Files:
config.h
Log Message:
* enabled thread if WIN32 platform.
Index: config.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/include/cpptl/config.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** config.h 5 Mar 2005 13:11:23 -0000 1.13
--- config.h 6 Mar 2005 18:35:14 -0000 1.14
***************
*** 5,9 ****
#include <utility>
-
// compiler specific stuffs...
///////////////////////////////////////////////////////////////////////////
--- 5,8 ----
***************
*** 62,65 ****
--- 61,71 ----
# endif
+ // OS specifics
+ ///////////////////////////////////////////////////////////////////////////
+
+ # if defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
+ # define CPPTL_USE_WIN32_THREAD 1
+ # endif
+
// Common to all compilers
///////////////////////////////////////////////////////////////////////////
***************
*** 113,116 ****
--- 119,128 ----
# endif
+ # if !defined(CPPTL_HAS_THREAD)
+ # if CPPTL_USE_WIN32_THREAD
+ # define CPPTL_HAS_THREAD 1
+ # endif
+ # endif
+
// auto-link specification
|