From: "Holzinger, Axel (ALC NetworX GmbH)" <Axel.Holzinger@alcnetworx.de>
To: "pthreads-win32@sourceware.org" <pthreads-win32@sourceware.org>
Subject: Small patches to prevent macro redefinition warning when building on windows
Date: Mon, 09 Jan 2012 16:20:00 -0000 [thread overview]
Message-ID: <D7B1B5F4F3F27A4CB073BF422331203F1802B37BD5@Exchange1.lawo.de> (raw)
Hi Ross et al,
when building with VS2010 and having _POSIX_C_SOURCE defined greater or equal than 200112, two macro redefinition warnings are spit out, one in pthread.h and one in sched.h.
I have made two patches that just undefine PTW32_LEVEL resp. PTW32_SCHED_LEVEL before (re-)defining it. Patches attached.
Cheers
Axel
reply other threads:[~2012-01-09 16:20 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D7B1B5F4F3F27A4CB073BF422331203F1802B37BD5@Exchange1.lawo.de \
--to=axel.holzinger@alcnetworx.de \
--cc=pthreads-win32@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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).