Commit 97a48194 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't include config.h.

Test NDEBUG instead of DEBUG.
parent 32f92ccd
/*
* $Id: debug.h,v 0.2 1991/09/15 10:13:07 linus Exp $
* $Id: debug.h,v 0.3 1994/06/18 18:50:28 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -22,8 +22,7 @@
*
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
#include "config.h" /* DEBUG is defined there */
#ifdef DEBUG
#ifndef NDEBUG
#define BUG(s) if (buglevel > 0) printf s ;
#define VBUG(s) if (buglevel > 1) printf s ;
#define BUGSTR(str) if (buglevel > 0) s_puts(str)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment