public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Small patches to prevent macro redefinition warning when building on windows
@ 2012-01-09 16:20 Holzinger, Axel  (ALC NetworX GmbH)
  0 siblings, 0 replies; only message in thread
From: Holzinger, Axel  (ALC NetworX GmbH) @ 2012-01-09 16:20 UTC (permalink / raw)
  To: pthreads-win32

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-09 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-09 16:20 Small patches to prevent macro redefinition warning when building on windows Holzinger, Axel  (ALC NetworX GmbH)

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).