Build iphlpapi with NDK instead of DDK
Modified: trunk/reactos/lib/iphlpapi/ifenum_reactos.c
Modified: trunk/reactos/lib/iphlpapi/iphlpapi_private.h
_____
Modified: trunk/reactos/lib/iphlpapi/ifenum_reactos.c
--- trunk/reactos/lib/iphlpapi/ifenum_reactos.c 2005-06-20 20:13:58 UTC
(rev 16176)
+++ trunk/reactos/lib/iphlpapi/ifenum_reactos.c 2005-06-20 20:20:40 UTC
(rev 16177)
@@ -36,10 +36,12 @@
* - We don't support IPv6 addresses here yet -- I moved the upper edge
* functions into iphlpv6.c (arty)
*/
-
#include "iphlpapi_private.h"
#include "ifenum.h"
+#define NDEBUG
+#include <debug.h>
+
/* Globals */
const PWCHAR TcpFileName = L"\\Device\\Tcp";
_____
Modified: trunk/reactos/lib/iphlpapi/iphlpapi_private.h
--- trunk/reactos/lib/iphlpapi/iphlpapi_private.h 2005-06-20
20:13:58 UTC (rev 16176)
+++ trunk/reactos/lib/iphlpapi/iphlpapi_private.h 2005-06-20
20:20:40 UTC (rev 16177)
@@ -21,9 +21,10 @@
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x500
-#include <ddk/ntddk.h>
+#include <windows.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
#include <rosrtl/string.h>
-#include <ddk/miniport.h>
#include <tcpmisc.h>
#include <winsock2.h>
#include <nspapi.h>