Skip to content

Commit 04f052b

Browse files
SergeGautherieHBelusca
authored andcommitted
[NETWORK:DD] NDIS_MINIPORT_DRIVER and NDIS51_MINIPORT do not need a value (reactos#8315)
1 parent 4a3bf41 commit 04f052b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

drivers/network/dd/dc21x4/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
add_definitions(
3-
-DNDIS_MINIPORT_DRIVER
4-
-DNDIS51_MINIPORT=1)
3+
-DNDIS51_MINIPORT
4+
-DNDIS_MINIPORT_DRIVER)
55

66
list(APPEND SOURCE
77
dc21x4.c

drivers/network/dd/ne2000/include/ne2000.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#ifndef _NE2000_PCH_
99
#define _NE2000_PCH_
1010

11-
#define NDIS_MINIPORT_DRIVER 1
11+
#define NDIS_MINIPORT_DRIVER
1212
#define NDIS_LEGACY_MINIPORT 1
13-
#define NDIS51_MINIPORT 1
13+
#define NDIS51_MINIPORT
1414
#include <ndis.h>
1515
#include <8390.h>
1616

drivers/network/dd/netkvm/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ include_directories(BEFORE Common
33
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/virtio)
44

55
add_definitions(
6-
-DNDIS_MINIPORT_DRIVER
7-
-DNDIS51_MINIPORT=1)
6+
-DNDIS51_MINIPORT
7+
-DNDIS_MINIPORT_DRIVER)
88

99
list(APPEND SOURCE
1010
Common/ParaNdis-Common.c

drivers/network/dd/nvnet/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
add_definitions(
3-
-DNDIS_MINIPORT_DRIVER
4-
-DNDIS51_MINIPORT=1)
3+
-DNDIS51_MINIPORT
4+
-DNDIS_MINIPORT_DRIVER)
55

66
list(APPEND SOURCE
77
backoff.c

0 commit comments

Comments
 (0)