Skip to content
  • Chun-wei Fan's avatar
    gwin32.c: Fix build on Visual Studio · 556705cb
    Chun-wei Fan authored
    ntdef.h is a header that is normally only shipped with MinGW, not Visual
    Studio, which broke the build in commit 975cb910.  Fix this by including
    winternl.h, which typedef's the NTSTATUS type in question on both Visual
    Studio and MinGW/mingw-w64, as well as pre-2008 Visual Studio.
    
    Clean up this inclusion part a little bit as well.
    556705cb