00001 /********** 00002 This library is free software; you can redistribute it and/or modify it under 00003 the terms of the GNU Lesser General Public License as published by the 00004 Free Software Foundation; either version 2.1 of the License, or (at your 00005 option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) 00006 00007 This library is distributed in the hope that it will be useful, but WITHOUT 00008 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00009 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for 00010 more details. 00011 00012 You should have received a copy of the GNU Lesser General Public License 00013 along with this library; if not, write to the Free Software Foundation, Inc., 00014 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00015 **********/ 00016 #ifndef _BOOLEAN_HH 00017 #define _BOOLEAN_HH 00018 00019 #ifdef __BORLANDC__ 00020 #define Boolean bool 00021 #define False false 00022 #define True true 00023 #else 00024 typedef unsigned Boolean; 00025 #ifndef False 00026 const Boolean False = 0; 00027 #endif 00028 #ifndef True 00029 const Boolean True = 1; 00030 #endif 00031 00032 #endif 00033 00034 #endif
1.5.2