? process.h ? signal.h ? vc60.pdb Index: Makefile =================================================================== RCS file: /cvs/pthreads-win32/pthreads/Makefile,v retrieving revision 1.41 diff -u -r1.41 Makefile --- Makefile 3 Jun 2005 08:36:27 -0000 1.41 +++ Makefile 28 Dec 2006 20:52:36 -0000 @@ -27,7 +27,10 @@ OPTIM = /O2 /Ob2 OPTIMD = -CFLAGS = /W3 /MD /nologo /Yd /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H +CFLAGS = /W0 /MD /nologo /Yd /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H /DWINCE -IC:\Include\Emulator + +CFLAGS = $(CFLAGS) /Zi /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /c /D NEED_FTIME + CFLAGSD = /Zi $(CFLAGS) Index: dll.c =================================================================== RCS file: /cvs/pthreads-win32/pthreads/dll.c,v retrieving revision 1.29 diff -u -r1.29 dll.c --- dll.c 1 Apr 2005 00:55:21 -0000 1.29 +++ dll.c 28 Dec 2006 20:52:36 -0000 @@ -38,7 +38,8 @@ #include "pthread.h" #include "implement.h" - + +#if 0 #ifdef _MSC_VER /* * lpvReserved yields an unreferenced formal parameter; @@ -90,3 +91,4 @@ } /* DllMain */ #endif /* PTW32_STATIC_LIB */ +#endif Index: implement.h =================================================================== RCS file: /cvs/pthreads-win32/pthreads/implement.h,v retrieving revision 1.117 diff -u -r1.117 implement.h --- implement.h 3 Jun 2005 08:36:27 -0000 1.117 +++ implement.h 28 Dec 2006 20:52:37 -0000 @@ -695,12 +695,12 @@ arg, \ flags, \ pid) \ - CreateThread(security, \ + CreateThread((struct _SECURITY_ATTRIBUTES *) security, \ stack_size, \ (LPTHREAD_START_ROUTINE) start_proc, \ arg, \ flags, \ - pid) + (unsigned long *) pid) #define _endthreadex ExitThread Index: need_errno.h =================================================================== RCS file: /cvs/pthreads-win32/pthreads/need_errno.h,v retrieving revision 1.3 diff -u -r1.3 need_errno.h --- need_errno.h 14 Aug 2000 03:43:09 -0000 1.3 +++ need_errno.h 28 Dec 2006 20:52:37 -0000 @@ -62,12 +62,12 @@ /* declare reference to errno */ -#if (defined(_MT) || defined(_MD) || defined(_DLL)) && !defined(_MAC) -_CRTIMP extern int * __cdecl _errno(void); -#define errno (*_errno()) -#else /* ndef _MT && ndef _MD && ndef _DLL */ +//#if (defined(_MT) || defined(_MD) || defined(_DLL)) && !defined(_MAC) +//_CRTIMP extern int * __cdecl _errno(void); +//#define errno (*_errno()) +//#else /* ndef _MT && ndef _MD && ndef _DLL */ _CRTIMP extern int errno; -#endif /* _MT || _MD || _DLL */ +//#endif /* _MT || _MD || _DLL */ /* Error Codes */ Index: ptw32_threadStart.c =================================================================== RCS file: /cvs/pthreads-win32/pthreads/ptw32_threadStart.c,v retrieving revision 1.10 diff -u -r1.10 ptw32_threadStart.c --- ptw32_threadStart.c 15 May 2005 15:28:27 -0000 1.10 +++ ptw32_threadStart.c 28 Dec 2006 20:52:40 -0000 @@ -79,11 +79,13 @@ } #elif defined(__CLEANUP_CXX) + #if defined(_MSC_VER) -# include +//# include +#include #elif defined(__WATCOMC__) -# include +//# include # include typedef terminate_handler terminate_function; @@ -102,6 +104,8 @@ typedef terminate_handler terminate_function; #endif + +typedef terminate_handler terminate_function; static terminate_function ptw32_oldTerminate; @@ -109,9 +113,9 @@ void ptw32_terminate () { - set_terminate (ptw32_oldTerminate); + // set_terminate (ptw32_oldTerminate); (void) pthread_win32_thread_detach_np (); - terminate (); + //terminate (); } #endif