diff options
author | John Hawthorn <jhawthor@uvic.ca> | 2009-08-31 01:32:38 -0700 |
---|---|---|
committer | John Hawthorn <jhawthor@uvic.ca> | 2009-08-31 01:32:38 -0700 |
commit | 4f44392c4d76351ca9280be7c8d821e1c9f10ff9 (patch) | |
tree | 91bf4617005de7940fc0e469ba98c162bfe3d26f | |
parent | 403bc87fc4cd16624ddd12e3a4b00256b8295528 (diff) | |
download | mirror-meh-4f44392c4d76351ca9280be7c8d821e1c9f10ff9.tar.gz mirror-meh-4f44392c4d76351ca9280be7c8d821e1c9f10ff9.tar.bz2 mirror-meh-4f44392c4d76351ca9280be7c8d821e1c9f10ff9.zip |
whoops. proper NDEBUG
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/imagemagick.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ BINDIR = $(PREFIX)/bin CONFIG ?= ../config -include configs/$(CONFIG).mk -CFLAGS ?= -O3 +CFLAGS ?= -O3 -DNDEBUG meh: $(OBJFILES) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJFILES) $(LIBS) diff --git a/src/imagemagick.c b/src/imagemagick.c index 4fbb8cb..e327685 100644 --- a/src/imagemagick.c +++ b/src/imagemagick.c @@ -34,7 +34,7 @@ struct image *imagemagick_open(FILE *f){ asprintf(&argv[4], "ppm:fd:%i", tmpfd[1]); argv[5] = NULL; -#ifndef NDEBUG +#ifdef NDEBUG /* STFU OMFG */ freopen("/dev/null", "w", stdout); freopen("/dev/null", "w", stderr); |