/[cvs]/eggdrop1.9/src/debug.h
ViewVC logotype

Contents of /eggdrop1.9/src/debug.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download) (as text)
Thu Jan 2 21:33:16 2003 UTC (17 years, 9 months ago) by wcc
Branch: MAIN
Changes since 1.3: +2 -2 lines
File MIME type: text/x-csrc
* Updated copyright info for 2003.

1 /*
2 * debug.h --
3 *
4 * assert debugging
5 */
6 /*
7 * Copyright (C) 2001, 2002, 2003 Eggheads Development Team
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 */
23 /*
24 * $Id: debug.h,v 1.3 2002/05/05 16:40:38 tothwolf Exp $
25 */
26
27 #ifndef _EGG_DEBUG_H
28 #define _EGG_DEBUG_H
29
30 #ifdef DEBUG
31 # undef NDEBUG
32 /*
33 * Some pre-ANSI implementations (e.g. SunOS 4)
34 * need stderr defined if assertion checking is enabled.
35 */
36 # include <stdio.h>
37 # include <assert.h>
38 #else /* !DEBUG */
39 # undef assert
40 # define assert(e)
41 #endif /* DEBUG */
42
43 #endif /* !_EGG_DEBUG_H */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23