![]() |
|
|
Bdb packages | Design docs | Source docs | Guidelines | Recent releases |
|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members /BaBar/BaBarBool.hh
Go to the documentation of this file.00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: BaBarBool.hh,v 1.1 1998/08/12 16:35:08 bartelt Exp $ 00004 // 00005 // Description: 00006 // Extracted from BaBar.hh, to isolate the BaBar "bool" typedef 00007 // used by certain compilers, such as Sun CC and AIX xlC. 00008 // 00009 // Environment: 00010 // Software developed for the BaBar Detector at the SLAC B-Factory. 00011 // 00012 // Author List: 00013 // John Bartelt, from BaBar.hh 00014 // 00015 // Copyright Information: 00016 // Copyright (C) 1998 00017 // 00018 //------------------------------------------------------------------------ 00019 00020 #ifndef BABARBOOL_HH 00021 #define BABARBOOL_HH 00022 00023 // fix up "bool" definition for vendor compilers. This does not 00024 // have proper ifdef's to distinguish compilers that need this. 00025 // It is only for Sun/Solaris CC and IBM/AIX xlc (as of 11 Aug 98). 00026 // 00027 00028 #ifndef CHAR_BOOL 00029 #define CHAR_BOOL 00030 typedef char babar_bool; 00031 #define bool babar_bool 00032 const bool babar_false = 0; 00033 #define false babar_false 00034 const bool babar_true = 1; 00035 #define true babar_true 00036 #endif 00037 00038 #endif
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002