- In Win32 DBG is defined to 0 for a non-debug build and to 1 for a debug build....
authorStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 17 Jun 2009 12:44:05 +0000 (12:44 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 17 Jun 2009 12:44:05 +0000 (12:44 +0000)
commit88e9b2a5131c74ff8c323caa181088cb117e5c84
tree72328dde4ae1bf51146a3bdf5e39dea81ef6bc9d
parent3d402751d495b328331c83971b82a9245101d744
- In Win32 DBG is defined to 0 for a non-debug build and to 1 for a debug build. In ReactOS we do this slightly different: DBG is correctly defined to 1 for debug, but not defined at all on non-debug/release build. Because gcc is awesome we can then check for debug compilation with both #ifdef DBG and #if DBG (error free! yay gcc!), and so we have mixed usage all over the tree.
- Fix this by defining DBG on non-debug build too and deprecate all usage of #ifdef DBG.

svn path=/trunk/; revision=41436
96 files changed:
reactos/ReactOS-arm.rbuild
reactos/ReactOS-generic.rbuild
reactos/base/services/dhcp/include/debug.h
reactos/base/setup/usetup/bootsup.c
reactos/base/system/services/services.c
reactos/boot/freeldr/freeldr/arch/i386/i386disk.c
reactos/boot/freeldr/freeldr/comm/rs232.c
reactos/boot/freeldr/freeldr/debug.c
reactos/boot/freeldr/freeldr/fs/ntfs.c
reactos/boot/freeldr/freeldr/include/debug.h
reactos/boot/freeldr/freeldr/include/mm.h
reactos/boot/freeldr/freeldr/mm/meminit.c
reactos/boot/freeldr/freeldr/mm/mm.c
reactos/boot/freeldr/freeldr/reactos/setupldr.c
reactos/boot/freeldr/freeldr/rtl/libsupp.c
reactos/boot/freeldr/freeldr/windows/wlmemory.c
reactos/dll/ntdll/include/ntdllp.h
reactos/dll/ntdll/ldr/startup.c
reactos/dll/ntdll/ldr/utils.c
reactos/dll/ntdll/rtl/libsupp.c
reactos/dll/win32/iprtprio/iprtprio.c
reactos/dll/win32/msafd/include/debug.h
reactos/dll/win32/msafd/misc/dllmain.c
reactos/dll/win32/snmpapi/debug.h
reactos/dll/win32/snmpapi/snmpapi.c
reactos/dll/win32/ws2_32/include/debug.h
reactos/dll/win32/ws2_32/misc/catalog.c
reactos/dll/win32/ws2_32/misc/dllmain.c
reactos/dll/win32/ws2help/debug.h
reactos/dll/win32/ws2help/ws2help.c
reactos/dll/win32/wshirda/debug.h
reactos/dll/win32/wshirda/wshirda.c
reactos/drivers/filesystems/fastfat/finfo.c
reactos/drivers/input/i8042prt/registry.c
reactos/drivers/network/afd/afd/lock.c
reactos/drivers/network/afd/afd/main.c
reactos/drivers/network/afd/afd/tdi.c
reactos/drivers/network/afd/include/debug.h
reactos/drivers/network/dd/ne2000/include/debug.h
reactos/drivers/network/dd/ne2000/ne2000/8390.c
reactos/drivers/network/dd/ne2000/ne2000/main.c
reactos/drivers/network/lan/include/debug.h
reactos/drivers/network/ndis/include/debug.h
reactos/drivers/network/ndis/include/miniport.h
reactos/drivers/network/ndis/ndis/main.c
reactos/drivers/network/ndis/ndis/miniport.c
reactos/drivers/network/ndis/ndis/protocol.c
reactos/drivers/network/tcpip/datalink/lan.c
reactos/drivers/network/tcpip/include/address.h
reactos/drivers/network/tcpip/include/debug.h
reactos/drivers/network/tcpip/include/memtrack.h
reactos/drivers/network/tcpip/include/routines.h
reactos/drivers/network/tcpip/include/titypes.h
reactos/drivers/network/tcpip/tcpip/dispatch.c
reactos/drivers/network/tcpip/tcpip/main.c
reactos/drivers/storage/class/cdrom/cdrom.c
reactos/drivers/storage/ide/uniata/id_ata.cpp
reactos/drivers/usb/nt4compat/usbdriver/ehci.c
reactos/include/ddk/mcd.h
reactos/include/ddk/srb.h
reactos/include/ddk/storport.h
reactos/include/ddk/video.h
reactos/include/ddk/winddk.h
reactos/include/reactos/debug.h
reactos/lib/drivers/ip/network/ip.c
reactos/lib/drivers/ip/network/memtrack.c
reactos/lib/drivers/ip/network/routines.c
reactos/lib/drivers/oskittcp/include/memtrack.h
reactos/lib/drivers/oskittcp/include/oskitdebug.h
reactos/lib/rtl/handle.c
reactos/lib/rtl/rtlp.h
reactos/ntoskrnl/cc/view.c
reactos/ntoskrnl/ex/i386/interlck_asm.S
reactos/ntoskrnl/ex/pushlock.c
reactos/ntoskrnl/ex/resource.c
reactos/ntoskrnl/include/config.h
reactos/ntoskrnl/include/internal/cc.h
reactos/ntoskrnl/include/internal/i386/asmmacro.S
reactos/ntoskrnl/include/internal/kd.h
reactos/ntoskrnl/include/internal/ke_x.h
reactos/ntoskrnl/kd/kdmain.c
reactos/ntoskrnl/kdbg/kdb_symbols.c
reactos/ntoskrnl/ke/arm/kiinit.c
reactos/ntoskrnl/ke/i386/ctxswitch.S
reactos/ntoskrnl/ke/i386/kiinit.c
reactos/ntoskrnl/ke/i386/systimer.S
reactos/ntoskrnl/ke/i386/trap.s
reactos/ntoskrnl/ke/spinlock.c
reactos/ntoskrnl/mm/rmap.c
reactos/ntoskrnl/mm/rpoolmgr.h
reactos/ntoskrnl/ps/debug.c
reactos/ntoskrnl/rtl/libsupp.c
reactos/tools/cabman/cabinet.cxx
reactos/tools/cabman/cabinet.h
reactos/tools/cabman/main.cxx
reactos/tools/hpp/hpp.c