public inbox for
 help / color / mirror / Atom feed
From: Andre du Toit <>
Subject: Compiling pthreads with mingw
Date: Wed, 05 Nov 2003 14:01:00 -0000	[thread overview]
Message-ID: <> (raw)


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. 
gcc-g++-3.3.1-20030804-1 etc.

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 


                 reply	other threads:[~2003-11-05 14:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).