public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
* Conflicting definition of THREAD_INFORMATION_CLASS?
@ 2013-10-25 18:16 Bryan Chua
  2013-10-25 18:41 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Bryan Chua @ 2013-10-25 18:16 UTC (permalink / raw)
  To: cygwin-developers

I am trying to build cygwin DLL and I keep running into a conflicting definition of THREAD_INFORMATION_CLASS:

From /usr/include/w32api/winbase.h
typedef enum _THREAD_INFORMATION_CLASS {
  ThreadMemoryPriority,
  ThreadAbsoluteCpuPriority,
  ThreadInformationClassMax
} THREAD_INFORMATION_CLASS;

From src/winsup/cygwin/ntdll.h
typedef enum _THREAD_INFORMATION_CLASS
{
  ThreadBasicInformation = 0,
  ThreadTimes = 1,
  ThreadImpersonationToken = 5
} THREAD_INFORMATION_CLASS, *PTHREAD_INFORMATION_CLASS;

Which one is correct, or have I installed too many/too few packages?

Thanks!

-- bryan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-25 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-25 18:16 Conflicting definition of THREAD_INFORMATION_CLASS? Bryan Chua
2013-10-25 18:41 ` Corinna Vinschen

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