Re: [Mingw-w64-public] ntddk.h

2010-09-14 Thread Alon Bar-Lev
On Tue, Sep 14, 2010 at 4:49 PM, Ozkan Sezer wrote: > On Tue, Sep 14, 2010 at 5:41 PM, Alon Bar-Lev wrote: >> Hi, >> >> When compiling this simple source: >> --- >> #include >> #include >> --- >> I get tones of errors of redefinitions winnt.h and ddk/ntddk.h. > > You aren't supposed to include

Re: [Mingw-w64-public] ntddk.h

2010-09-14 Thread Ozkan Sezer
On Tue, Sep 14, 2010 at 5:41 PM, Alon Bar-Lev wrote: > Hi, > > When compiling this simple source: > --- > #include > #include > --- > I get tones of errors of redefinitions winnt.h and ddk/ntddk.h. You aren't supposed to include those together: ntddk.h includes ntdef.h which includes necessary

[Mingw-w64-public] ntddk.h

2010-09-14 Thread Alon Bar-Lev
Hi, When compiling this simple source: --- #include #include --- I get tones of errors of redefinitions winnt.h and ddk/ntddk.h. Should it be possible? I am using stable branch. I am actually trying to make winpcap compile... this is the most problematic issue. Alon. ---