X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fircd_alloc.c;h=d3630123ffa095d6978ca01b07bb7f3517b8f6ca;hb=cc05a230ac079fa15a2e43e6e68ef7126128cefd;hp=17c6571aab62694983ce09645bdbd9f506147953;hpb=b8294f6c0db86ec8d204b0fda51070f3a415fb57;p=ircu2.10.12-pk.git diff --git a/ircd/ircd_alloc.c b/ircd/ircd_alloc.c index 17c6571..d363012 100644 --- a/ircd/ircd_alloc.c +++ b/ircd/ircd_alloc.c @@ -29,7 +29,7 @@ #include -#if defined(NDEBUG) +#if !defined(MDEBUG) /* * RELEASE: allocation functions */ @@ -71,7 +71,7 @@ void* MyCalloc(size_t nelem, size_t size) return p; } -#else /* !defined(NDEBUG) */ +#else /* defined(MDEBUG) */ /* * DEBUG: allocation functions */ @@ -81,5 +81,5 @@ void set_nomem_handler(OutOfMemoryHandler handler) fda_set_nomem_handler(handler); } -#endif /* !defined(NDEBUG) */ +#endif /* defined(MDEBUG) */