This is the mail archive of the
mailing list for the pthreas-win32 project.
Compiling pthreads with mingw
- From: Andre du Toit <adutoit at stonethree dot com>
- To: pthreads-win32 at sources dot redhat dot com
- Date: Wed, 05 Nov 2003 16:08:23 +0200
- Subject: Compiling pthreads with mingw
I am trying to get pthreads-win32 to compile with mingw, on M$2000.
The 'pid_t' type is undefined when compiling 'sched.h'.
The version of pthreads-win32 I have is that unpacked from
I am using the g++ that ships with MinGW 3.1.0-1; i.e.
Any suggestions? I imported the Visual C++ project file supplied with
pthreads-win32 in Dev-C++ and tried to compile the DLL.
Now it seems that 'sys/types.h' is not included, cause that should
supply the 'pid_t' type. But I am not sure which of the gazillion
#ifdefs to #undef, in order to have
the 'pid_t' type defined (sys/types.h included).
Which version combination of pthreads-win32 and mingw (g++ etc.) do you