summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index cf6194c9e..58b469f01 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -33,10 +33,12 @@
#endif
#endif
+#ifndef DEBUGBUILD
#ifndef USE_INTERNALGUICHAN
#warning using depricated way for linking with guichan. \
Please removed configure flag --without-internalguichan
#endif
+#endif
#if !defined(__GXX_EXPERIMENTAL_CXX0X__)
#undef nullptr