Debug.hh

00001 /**********************************************************************
00002  * blaRAY -- photon mapper/raytracer
00003  * (C) 2008 by Tomasz bla Fortuna <bla@thera.be>, <bla@af.gliwice.pl>
00004  *
00005  * This program is free software: you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation, either version 3 of the License, or
00008  * any later version.
00009  *
00010  * See Docs/LICENSE
00011  *********************/
00012 
00013 #ifndef _DEBUG_H_
00014 #define _DEBUG_H_
00015 
00016 //#define DEBUG
00017 //#define VALGRIND
00018 
00019 #ifdef DEBUG
00020 #       undef DEBUG
00021 #       define DEBUG 1
00022 #else
00023 #       define DEBUG 0
00024 #endif
00025 
00026 /* For debugging memory usage */
00027 #ifdef VALGRIND
00028 #       undef VALGRIND
00029 #       define VALGRIND 1
00030 #else
00031 #       define VALGRIND 0
00032 #endif
00033 
00034 
00035 #endif

Generated on Wed Mar 12 00:34:58 2008 for blaRAY by  doxygen 1.5.5