|
GiNaC
1.6.2
|
00001 00005 /* 00006 * GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany 00007 * 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00021 */ 00022 00023 #ifndef GINAC_ASSERTION_H 00024 #define GINAC_ASSERTION_H 00025 00026 #if !defined(GINAC_ASSERT) 00027 #if defined(DO_GINAC_ASSERT) 00028 #include <cassert> 00030 #define GINAC_ASSERT(X) assert(X) 00031 #else 00032 00033 #define GINAC_ASSERT(X) ((void)0) 00034 #endif 00035 #endif 00036 00037 #endif // ndef GINAC_ASSERTION_H