mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[DRIVERS] Remove unused __NTDRIVER__ and KERNEL definitions
This commit is contained in:
parent
8866b9d7b0
commit
886670e914
9 changed files with 0 additions and 27 deletions
1
sdk/lib/3rdparty/freetype/CMakeLists.txt
vendored
1
sdk/lib/3rdparty/freetype/CMakeLists.txt
vendored
|
@ -1,6 +1,5 @@
|
|||
|
||||
add_definitions(
|
||||
-D__NTDRIVER__
|
||||
-DFT2_BUILD_LIBRARY)
|
||||
|
||||
include_directories(include)
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
|
||||
add_definitions(-D__NTDRIVER__)
|
||||
|
||||
include_directories(
|
||||
BEFORE ${REACTOS_SOURCE_DIR}/drivers/network/tcpip/include
|
||||
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/lwip/src/include
|
||||
|
|
|
@ -235,9 +235,7 @@ PIP_INTERFACE IPCreateInterface(
|
|||
|
||||
TCPRegisterInterface(IF);
|
||||
|
||||
#ifdef __NTDRIVER__
|
||||
InsertTDIInterfaceEntity( IF );
|
||||
#endif
|
||||
|
||||
return IF;
|
||||
}
|
||||
|
@ -253,9 +251,7 @@ VOID IPDestroyInterface(
|
|||
{
|
||||
TI_DbgPrint(DEBUG_IP, ("Called. IF (0x%X).\n", IF));
|
||||
|
||||
#ifdef __NTDRIVER__
|
||||
RemoveTDIInterfaceEntity( IF );
|
||||
#endif
|
||||
|
||||
TCPUnregisterInterface(IF);
|
||||
|
||||
|
|
|
@ -341,9 +341,7 @@ NTSTATUS RawIPStartup(VOID)
|
|||
* Status of operation
|
||||
*/
|
||||
{
|
||||
#ifdef __NTDRIVER__
|
||||
RtlZeroMemory(&UDPStats, sizeof(UDP_STATISTICS));
|
||||
#endif
|
||||
|
||||
/* Register this protocol with IP layer */
|
||||
IPRegisterProtocol(IPPROTO_RAW, RawIpReceive);
|
||||
|
|
|
@ -343,9 +343,7 @@ NTSTATUS UDPStartup(
|
|||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
#ifdef __NTDRIVER__
|
||||
RtlZeroMemory(&UDPStats, sizeof(UDP_STATISTICS));
|
||||
#endif
|
||||
|
||||
Status = PortsStartup( &UDPPorts, 1, UDP_STARTING_PORT + UDP_DYNAMIC_PORTS );
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
|
||||
add_definitions(
|
||||
-D__NTDRIVER__
|
||||
-DKERNEL)
|
||||
|
||||
include_directories(
|
||||
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
|
||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
|
||||
add_definitions(
|
||||
-D__NTDRIVER__
|
||||
-DKERNEL)
|
||||
|
||||
include_directories(
|
||||
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
|
||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
|
||||
add_definitions(
|
||||
-D__NTDRIVER__
|
||||
-DKERNEL)
|
||||
|
||||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
||||
|
||||
list(APPEND SOURCE
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
|
||||
add_definitions(
|
||||
-D__NTDRIVER__
|
||||
-DKERNEL)
|
||||
|
||||
include_directories(
|
||||
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
|
||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
||||
|
|
Loading…
Reference in a new issue