FEI Version of the Day
fei_bool.h
00001 /*--------------------------------------------------------------------*/
00002 /*    Copyright 2005 Sandia Corporation.                              */
00003 /*    Under the terms of Contract DE-AC04-94AL85000, there is a       */
00004 /*    non-exclusive license for use of this work by or on behalf      */
00005 /*    of the U.S. Government.  Export of this program may require     */
00006 /*    a license from the United States Government.                    */
00007 /*--------------------------------------------------------------------*/
00008 
00009 #ifndef _fei_bool_h_
00010 #define _fei_bool_h_
00011 
00012 //Simulate bool support if the compiler being used doesn't have built-in bool
00013 //(Is there still such a compiler as of 2007?)
00014 #ifdef FEI_SIMULATE_BOOL
00015 
00016 #ifdef bool
00017 #undef bool
00018 #endif
00019 #ifdef true
00020 #undef true
00021 #endif
00022 #ifdef false
00023 #undef false
00024 #endif
00025 
00026 #define bool int
00027 #define true 1
00028 #define false 0
00029 
00030 #endif
00031 
00032 #endif
00033 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends