Initial commit, includes Lua with broken Luabind as a backup for branching purposes
[terrastrategy.git] / include / old-mem_off.h
blob3b81237570a727db35e155f9c0c9f56b0691523f
1 //
2 // Copyright (C) 2007 by Martin Moracek
3 // Portions Copyright (C) 2001 by Peter Dalton
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 /*!
21 * @file mem_off.h
23 * @brief Contains macros for disabling the overriden new/delete macros.
26 // defines MEM_MANAGER_ON
27 #include "config.h"
29 #ifdef MEM_MANAGER_ON
31 #undef new
32 #undef delete
33 #undef malloc
34 #undef calloc
35 #undef realloc
36 #undef free
38 #endif /* MEM_MANAGER_ON */