Atlas  0.7.0
Networking protocol for the Worldforge system.
Debug.h
1 // This file may be redistributed and modified only under the terms of
2 // the GNU Lesser General Public License (See COPYING for details).
3 // Copyright (C) 2002 Michael Koch, 2003 Alistair Riddoch
4 
5 // $Id$
6 
7 #ifndef ATLAS_DEBUG_H
8 #define ATLAS_DEBUG_H
9 
10 #ifdef DEBUG
11 #define ATLAS_DEBUG(a) { if (debug_flag) { a; } }
12 #else
13 #define ATLAS_DEBUG(a)
14 #endif
15 
16 #endif // ATLAS_DEBUG_H