[NETWORK:NE2000] Move the NDIS_* defines to the CMakeFiles.txt

This commit is contained in:
Hermès Bélusca-Maïto
2025-10-26 18:04:32 +01:00
parent 5b1224b8a3
commit df49026976
2 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,11 @@
include_directories(BEFORE include)
add_definitions(
-DNDIS51_MINIPORT
-DNDIS_MINIPORT_DRIVER
-DNDIS_LEGACY_MINIPORT=1)
list(APPEND SOURCE
ne2000/8390.c
ne2000/main.c

View File

@@ -8,9 +8,6 @@
#ifndef _NE2000_PCH_
#define _NE2000_PCH_
#define NDIS_MINIPORT_DRIVER
#define NDIS_LEGACY_MINIPORT 1
#define NDIS51_MINIPORT
#include <ndis.h>
#include <8390.h>