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 #if defined(__BORLANDC__) || (!defined(USE_LIVE555_BOOLEAN) && defined(_MSC_VER) && _MSC_VER >= 1400) 00020 // Use the "bool" type defined by the Borland compiler, and MSVC++ 8.0, Visual Studio 2005 and higher 00021 #define Boolean bool 00022 #define False false 00023 #define True true 00024 #else 00025 typedef unsigned char Boolean; 00026 #ifndef __MSHTML_LIBRARY_DEFINED__ 00027 #ifndef False 00028 const Boolean False = 0; 00029 #endif 00030 #ifndef True 00031 const Boolean True = 1; 00032 #endif 00033 00034 #endif 00035 #endif 00036 00037 #endif
1.5.2