Skip to content

Commit

Permalink
src/doomdef: Disable range checking by default
Browse files Browse the repository at this point in the history
This is debugging code ... takes space, takes time. Only enable it
when building stuff for linux-x11.

Signed-off-by: Sylvain Munaut <[email protected]>
  • Loading branch information
smunaut committed Jan 16, 2021
1 parent 3fe214e commit c75a90e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/doomdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ typedef enum

// If rangecheck is undefined,
// most parameter validation debugging code will not be compiled
#define RANGECHECK
//#define RANGECHECK

// Do or do not use external soundserver.
// The sndserver binary to be run separately
Expand Down
1 change: 1 addition & 0 deletions src/linux-x11/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ LIBS=-lXext -lX11 -lm
CFLAGS+=\
-DNORMALUNIX \
-DLINUX \
-DRANGECHECK \
$(NULL)


Expand Down

0 comments on commit c75a90e

Please sign in to comment.