mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +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(
|
add_definitions(
|
||||||
-D__NTDRIVER__
|
|
||||||
-DFT2_BUILD_LIBRARY)
|
-DFT2_BUILD_LIBRARY)
|
||||||
|
|
||||||
include_directories(include)
|
include_directories(include)
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
|
|
||||||
add_definitions(-D__NTDRIVER__)
|
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
BEFORE ${REACTOS_SOURCE_DIR}/drivers/network/tcpip/include
|
BEFORE ${REACTOS_SOURCE_DIR}/drivers/network/tcpip/include
|
||||||
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/lwip/src/include
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/lwip/src/include
|
||||||
|
|
|
@ -235,9 +235,7 @@ PIP_INTERFACE IPCreateInterface(
|
||||||
|
|
||||||
TCPRegisterInterface(IF);
|
TCPRegisterInterface(IF);
|
||||||
|
|
||||||
#ifdef __NTDRIVER__
|
|
||||||
InsertTDIInterfaceEntity( IF );
|
InsertTDIInterfaceEntity( IF );
|
||||||
#endif
|
|
||||||
|
|
||||||
return IF;
|
return IF;
|
||||||
}
|
}
|
||||||
|
@ -253,9 +251,7 @@ VOID IPDestroyInterface(
|
||||||
{
|
{
|
||||||
TI_DbgPrint(DEBUG_IP, ("Called. IF (0x%X).\n", IF));
|
TI_DbgPrint(DEBUG_IP, ("Called. IF (0x%X).\n", IF));
|
||||||
|
|
||||||
#ifdef __NTDRIVER__
|
|
||||||
RemoveTDIInterfaceEntity( IF );
|
RemoveTDIInterfaceEntity( IF );
|
||||||
#endif
|
|
||||||
|
|
||||||
TCPUnregisterInterface(IF);
|
TCPUnregisterInterface(IF);
|
||||||
|
|
||||||
|
|
|
@ -341,9 +341,7 @@ NTSTATUS RawIPStartup(VOID)
|
||||||
* Status of operation
|
* Status of operation
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
#ifdef __NTDRIVER__
|
|
||||||
RtlZeroMemory(&UDPStats, sizeof(UDP_STATISTICS));
|
RtlZeroMemory(&UDPStats, sizeof(UDP_STATISTICS));
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Register this protocol with IP layer */
|
/* Register this protocol with IP layer */
|
||||||
IPRegisterProtocol(IPPROTO_RAW, RawIpReceive);
|
IPRegisterProtocol(IPPROTO_RAW, RawIpReceive);
|
||||||
|
|
|
@ -343,9 +343,7 @@ NTSTATUS UDPStartup(
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
#ifdef __NTDRIVER__
|
|
||||||
RtlZeroMemory(&UDPStats, sizeof(UDP_STATISTICS));
|
RtlZeroMemory(&UDPStats, sizeof(UDP_STATISTICS));
|
||||||
#endif
|
|
||||||
|
|
||||||
Status = PortsStartup( &UDPPorts, 1, UDP_STARTING_PORT + UDP_DYNAMIC_PORTS );
|
Status = PortsStartup( &UDPPorts, 1, UDP_STARTING_PORT + UDP_DYNAMIC_PORTS );
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
|
|
||||||
add_definitions(
|
|
||||||
-D__NTDRIVER__
|
|
||||||
-DKERNEL)
|
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
|
||||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
|
|
||||||
add_definitions(
|
|
||||||
-D__NTDRIVER__
|
|
||||||
-DKERNEL)
|
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
|
||||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
${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)
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
|
|
||||||
add_definitions(
|
|
||||||
-D__NTDRIVER__
|
|
||||||
-DKERNEL)
|
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
|
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
|
||||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
|
||||||
|
|
Loading…
Reference in a new issue