(file) Return to Config.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Config.h between version 1.12 and 1.21.2.1

version 1.12, 2001/05/21 20:01:57 version 1.21.2.1, 2001/08/27 14:15:58
Line 1 
Line 1 
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM  // Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a  // Permission is hereby granted, free of charge, to any person obtaining a copy
 // copy of this software and associated documentation files (the "Software"),  // of this software and associated documentation files (the "Software"), to
 // to deal in the Software without restriction, including without limitation  // deal in the Software without restriction, including without limitation the
 // the rights to use, copy, modify, merge, publish, distribute, sublicense,  // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 // and/or sell copies of the Software, and to permit persons to whom the  // sell copies of the Software, and to permit persons to whom the Software is
 // Software is furnished to do so, subject to the following conditions:  // furnished to do so, subject to the following conditions:
 //  //
 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL  // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING  // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 // DEALINGS IN THE SOFTWARE.  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
   // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 // //
 //============================================================================== //==============================================================================
 // //
Line 28 
Line 29 
 #ifndef Pegasus_Config_h #ifndef Pegasus_Config_h
 #define Pegasus_Config_h #define Pegasus_Config_h
  
   // Ensure Unix 98, IPCUnix.h comes sometimes too late
   #if defined (PEGASUS_PLATFORM_LINUX_IX86_GNU)
   #ifndef _GNU_SOURCE
         #define _GNU_SOURCE
   #endif
   #endif
   
 #include <iostream> #include <iostream>
   #include <cstdlib>
  
 #if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC) #if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC)
 # include <Pegasus/Common/Platform_WIN32_IX86_MSVC.h> # include <Pegasus/Common/Platform_WIN32_IX86_MSVC.h>
Line 36 
Line 45 
 # include <Pegasus/Common/Platform_LINUX_IX86_GNU.h> # include <Pegasus/Common/Platform_LINUX_IX86_GNU.h>
 #elif defined (PEGASUS_PLATFORM_AIX_RS_IBMCXX) #elif defined (PEGASUS_PLATFORM_AIX_RS_IBMCXX)
 # include <Pegasus/Common/Platform_AIX_RS_IBMCXX.h> # include <Pegasus/Common/Platform_AIX_RS_IBMCXX.h>
   #elif defined (PEGASUS_PLATFORM_HPUX_PARISC_ACC)
   # include <Pegasus/Common/Platform_HPUX_PARISC_ACC.h>
   #elif defined (PEGASUS_PLATFORM_TRU64_ALPHA_DECCXX)
   # include <Pegasus/Common/Platform_TRU64_ALPHA_DECCXX.h>
   #elif defined (PEGASUS_PLATFORM_SOLARIS_SPARC_GNU)
   # include <Pegasus/Common/Platform_SOLARIS_SPARC_GNU.h>
 #else #else
 # error "<Pegasus/Common/Config.h>: Unsupported Platform" # error "<Pegasus/Common/Config.h>: Unsupported Platform"
 #endif #endif
Line 96 
Line 111 
 typedef PEGASUS_SINT64 Sint64; typedef PEGASUS_SINT64 Sint64;
  
 #define PEGASUS_NOT_FOUND Uint32(-1) #define PEGASUS_NOT_FOUND Uint32(-1)
   #define PEG_NOT_FOUND Uint32(-1)
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
Line 105 
Line 121 
 #define PEGASUS_OUT(X) \ #define PEGASUS_OUT(X) \
     PEGASUS_STD(cout) << #X << "=[" << X << "]" << PEGASUS_STD(endl)     PEGASUS_STD(cout) << #X << "=[" << X << "]" << PEGASUS_STD(endl)
  
   #ifdef PEGASUS_SUPPRESS_UNREACHABLE_STATEMENTS
   # define PEGASUS_UNREACHABLE(CODE)
   #else
   # define PEGASUS_UNREACHABLE(CODE) CODE
   #endif
   
 #endif  /* Pegasus_Config_h */ #endif  /* Pegasus_Config_h */


Legend:
Removed from v.1.12  
changed lines
  Added in v.1.21.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2