From: Mikko L. <laz...@us...> - 2004-06-13 19:42:24
|
Update of /cvsroot/rtk/rtk/rtk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2718 Modified Files: Mutex.h conf.h Log Message: Removed platform headers Index: Mutex.h =================================================================== RCS file: /cvsroot/rtk/rtk/rtk/Mutex.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Mutex.h 6 Mar 2004 12:04:06 -0000 1.3 --- Mutex.h 13 Jun 2004 19:42:16 -0000 1.4 *************** *** 53,60 **** # include <windows.h> # include <limits.h> - #else - # include <pthread.h> - # include <signal.h> - # include <unistd.h> #endif --- 53,56 ---- *************** *** 78,88 **** void Destroy(); ! #ifdef _WIN32 ! CRITICAL_SECTION _cs; ! #else ! pthread_mutex_t _cs; ! pthread_t _owner; ! int _recursive_counter; ! #endif // _WIN32 }; // Mutex class --- 74,78 ---- void Destroy(); ! void *_prv; }; // Mutex class Index: conf.h =================================================================== RCS file: /cvsroot/rtk/rtk/rtk/conf.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** conf.h 8 Mar 2004 19:55:23 -0000 1.11 --- conf.h 13 Jun 2004 19:42:16 -0000 1.12 *************** *** 59,74 **** // Define this, if the platform uses UNICODE ! // RTK_BC_UNICODE is (like all *_BC_* macros) set by CMake/autotools ! // #define RTK_UNICODE 1 ! #if defined(_RTK_WINCE_) && !defined(RTK_UNICODE) ! // UNICODE is MUST under WinCE ! # define RTK_UNICODE 1 #endif ! #ifdef RTK_UNICODE ! # define UNICODE 1 ! #else ! # undef UNICODE #endif --- 59,72 ---- // Define this, if the platform uses UNICODE ! //#define UNICODE 1 ! #if defined(_RTK_WIN32_) ! // UNICODE is default WIN32, but not must ! # define UNICODE 1 #endif ! #if defined(_RTK_WINCE_) && !defined(UNICODE) ! // UNICODE is MUST under WinCE ! # define UNICODE 1 #endif *************** *** 88,93 **** #endif // __RTK_CONFIG_H__ - - /** - * $Id$ - ***************************************************************************/ --- 86,87 ---- |