]> granicus.if.org Git - nethack/commit
Apply paxed's DEBUG patch to remove DEBUG/D_DEBUG.
authorPasi Kallinen <paxed@alt.org>
Mon, 9 Feb 2015 18:56:44 +0000 (20:56 +0200)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Sat, 28 Feb 2015 00:33:45 +0000 (19:33 -0500)
commit612852f7de8a1d621ca29335edadef77a1a05369
tree7cf85f060b50327535cfbcd736b620153e3d4775
parentac108cd365b2193f24b5c797aac3203ca83977cd
Apply paxed's DEBUG patch to remove DEBUG/D_DEBUG.

    Move debugging output into couple preprocessor defines, which
    are no-op without DEBUG.  To show debugging output from a
    certain source files, use sysconf:

    DEBUGFILES=dungeon.c questpgr.c

    Also fix couple debug lines which did not compile.

This also includes fixes due to Derek Ray to depugpline to work better
on other platforms.
32 files changed:
include/global.h
include/hack.h
include/sys.h
src/apply.c
src/attrib.c
src/bones.c
src/cmd.c
src/dbridge.c
src/dig.c
src/dungeon.c
src/eat.c
src/files.c
src/hack.c
src/light.c
src/makemon.c
src/mklev.c
src/mkmaze.c
src/mkobj.c
src/mon.c
src/pickup.c
src/questpgr.c
src/restore.c
src/rnd.c
src/save.c
src/shk.c
src/sp_lev.c
src/steal.c
src/sys.c
src/teleport.c
src/zap.c
sys/unix/sysconf
win/tty/wintty.c