Sync with trunk (r48545)
[reactos.git] / drivers / network / ndis / include / miniport.h
index 32aab60..ad4de2a 100644 (file)
@@ -5,8 +5,7 @@
  * PURPOSE:     Definitions for routines used by NDIS miniport drivers
  */
 
-#ifndef __MINIPORT_H
-#define __MINIPORT_H
+#pragma once
 
 #include <ndis.h>
 #include <ndissys.h>
@@ -28,7 +27,7 @@ typedef struct _NDIS_M_DRIVER_BLOCK {
     PDRIVER_OBJECT                  DriverObject;             /* Driver object of miniport */
     LIST_ENTRY                      DeviceList;               /* Adapters created by miniport */
     PUNICODE_STRING                 RegistryPath;             /* SCM Registry key */
-#if !defined(_MSC_VER) && defined(__NDIS_H)
+#if !defined(_MSC_VER) && defined(_NDIS_)
 } NDIS_M_DRIVER_BLOCK_COMPATIBILITY_HACK_DONT_USE;
 #else
 } NDIS_M_DRIVER_BLOCK, *PNDIS_M_DRIVER_BLOCK;
@@ -197,7 +196,4 @@ VOID
 MiniDoAddressingReset(
     PLOGICAL_ADAPTER Adapter);
 
-#endif /* __MINIPORT_H */
-
 /* EOF */
-