Fixme to warn about winnt and ntdef in some future version (this change only adds a comment) git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3960 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/ntdef.h b/mingw-w64-headers/include/ntdef.h index 2e58d18..a481b47 100644 --- a/mingw-w64-headers/include/ntdef.h +++ b/mingw-w64-headers/include/ntdef.h
@@ -21,6 +21,12 @@ #ifndef _NTDEF_ #define _NTDEF_ +#ifdef _WINNT_ +/* FIXME: In version two, warn about including both ntdef.h and winnt.h + * #warning Including winnt.h and ntdef.h is deprecated and will be removed in a future release. Please use winternl.h + */ +#endif + #include <_mingw.h> #if defined(__x86_64) && \