2 ===================================================================
3 RCS file: /cvs/pthreads-win32/pthreads/Makefile,v
4 retrieving revision 1.52
5 diff -u -r1.52 Makefile
6 --- Makefile 3 Jul 2011 14:15:58 -0000 1.52
7 +++ Makefile 25 Jun 2012 13:47:51 -0000
12 -DEVROOT = C:\pthreads
13 +DEVROOT = C:\src\pthreads
15 DLLDEST = $(DEVROOT)\dll
16 LIBDEST = $(DEVROOT)\lib
20 CPPFLAGS = /I. /DHAVE_PTW32_CONFIG_H
21 -XCFLAGS = /W3 /MD /nologo
22 +XCFLAGS = /W3 /MD /nologo /DWINCE /D_ARM_ /D_UWIN_ /D_UNICODE /DUNICODE /D_WIN32_WCE=0x500 /DUNDER_CE
23 CFLAGS = /O2 /Ob2 $(XCFLAGS)
24 CFLAGSD = /Z7 $(XCFLAGS)
27 copy semaphore.h $(HDRDEST)
30 - $(CC) /LDd /Zi /nologo $(DLL_OBJS) /link /implib:$*.lib $(XLIBS) /out:$@
31 + $(CC) /LDd /Zi /nologo $(DLL_OBJS) /link /implib:$*.lib $(XLIBS) /out:$@ /subsystem:windowsce,5.00 /NODEFAULTLIB:"oldnames.lib" coredll.lib corelibc.lib
33 $(INLINED_STAMPS): $(DLL_INLINED_OBJS)
34 $(CC) /LDd /Zi /nologo $(DLL_INLINED_OBJS) /link /implib:$*.lib $(XLIBS) /out:$*.dll
36 $(CC) $(EHFLAGS) /D$(CLEANUP) -c $<
39 - rc /dPTW32_RC_MSC /d$(CLEANUP) $<
40 + rc /I "c:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\Armv4i" /dPTW32_RC_MSC /d$(CLEANUP) $<
43 $(CC) /P /O2 /Ob1 $(VCFLAGS) $<
45 ===================================================================
46 RCS file: /cvs/pthreads-win32/pthreads/errno.c,v
47 retrieving revision 1.15
48 diff -u -r1.15 errno.c
49 --- errno.c 22 Nov 2007 14:14:58 -0000 1.15
50 +++ errno.c 25 Jun 2012 13:47:51 -0000
52 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
56 #if defined(NEED_ERRNO)
59 #include "implement.h"
61 static int reallyBad = ENOMEM;
66 - result = (int *)(&self.p->exitStatus);
67 + result = &(((ptw32_thread_t*)self.p)->exitStatus);
72 ===================================================================
73 RCS file: /cvs/pthreads-win32/pthreads/mutex.c,v
74 retrieving revision 1.66
75 diff -u -r1.66 mutex.c
76 --- mutex.c 30 May 2011 00:31:00 -0000 1.66
77 +++ mutex.c 25 Jun 2012 13:47:51 -0000
79 * if not, write to the Free Software Foundation, Inc.,
80 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
84 #if ! defined(_UWIN) && ! defined(WINCE)
87 #if !defined(NEED_FTIME)
88 #include <sys/timeb.h>
91 #include "implement.h"
94 Index: pthread_win32_attach_detach_np.c
95 ===================================================================
96 RCS file: /cvs/pthreads-win32/pthreads/pthread_win32_attach_detach_np.c,v
97 retrieving revision 1.28
98 diff -u -r1.28 pthread_win32_attach_detach_np.c
99 --- pthread_win32_attach_detach_np.c 5 Jul 2011 02:02:35 -0000 1.28
100 +++ pthread_win32_attach_detach_np.c 25 Jun 2012 13:47:52 -0000
103 * This should take care of any security issues.
105 -#if defined(__GNUC__) || _MSC_VER < 1400
107 + /* Not supported on WinCE */
108 +#elif defined(__GNUC__) || _MSC_VER < 1400
109 if(GetSystemDirectory(QuserExDLLPathBuf, sizeof(QuserExDLLPathBuf)))
111 (void) strncat(QuserExDLLPathBuf,
113 ===================================================================
114 RCS file: /cvs/pthreads-win32/pthreads/semaphore.c,v
115 retrieving revision 1.37
116 diff -u -r1.37 semaphore.c
117 --- semaphore.c 30 May 2011 00:31:01 -0000 1.37
118 +++ semaphore.c 25 Jun 2012 13:47:52 -0000
120 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
123 +#include "pthread.h"
124 #if !defined(NEED_FTIME)
125 # include <sys/timeb.h>