(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.31 and 1.41

version 1.31, 2002/07/23 23:27:57 version 1.41, 2003/06/12 17:32:10
Line 24 
Line 24 
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By: Rudy Schuet (rudy.schuet@compaq.com) 11/25/01 // Modified By: Rudy Schuet (rudy.schuet@compaq.com) 11/25/01
 //              added NSK platform support and PEGASUS_HAVE_NO_STD option  //              K. Schopmeyer
 //              K. Schopmeyer. Added  PEGASUS_TEST_EXCEPTION_DECLARATION Feb 27 2002  //              Carol Ann Krug Graves, Hewlett-Packard Company
   //                (carolann_graves@hp.com)
   //              David Eger (dteger@us.ibm.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 40 
Line 42 
 # include <Pegasus/Common/Platform_AIX_RS_IBMCXX.h> # include <Pegasus/Common/Platform_AIX_RS_IBMCXX.h>
 #elif defined (PEGASUS_PLATFORM_HPUX_PARISC_ACC) #elif defined (PEGASUS_PLATFORM_HPUX_PARISC_ACC)
 # include <Pegasus/Common/Platform_HPUX_PARISC_ACC.h> # include <Pegasus/Common/Platform_HPUX_PARISC_ACC.h>
   #elif defined (PEGASUS_PLATFORM_HPUX_IA64_ACC)
   # include <Pegasus/Common/Platform_HPUX_IA64_ACC.h>
 #elif defined (PEGASUS_PLATFORM_TRU64_ALPHA_DECCXX) #elif defined (PEGASUS_PLATFORM_TRU64_ALPHA_DECCXX)
 # include <Pegasus/Common/Platform_TRU64_ALPHA_DECCXX.h> # include <Pegasus/Common/Platform_TRU64_ALPHA_DECCXX.h>
 #elif defined (PEGASUS_PLATFORM_SOLARIS_SPARC_GNU) #elif defined (PEGASUS_PLATFORM_SOLARIS_SPARC_GNU)
Line 50 
Line 54 
 # include <Pegasus/Common/Platform_NSK_NONSTOP_NMCPLUS.h> # include <Pegasus/Common/Platform_NSK_NONSTOP_NMCPLUS.h>
 #elif defined (PEGASUS_PLATFORM_LINUX_IA64_GNU) #elif defined (PEGASUS_PLATFORM_LINUX_IA64_GNU)
 # include <Pegasus/Common/Platform_LINUX_IA64_GNU.h> # include <Pegasus/Common/Platform_LINUX_IA64_GNU.h>
   #elif defined (PEGASUS_PLATFORM_LINUX_PPC_GNU)
   # include <Pegasus/Common/Platform_LINUX_PPC_GNU.h>
   #elif defined (__OS400__)
   # if !defined (PEGASUS_PLATFORM_OS400_ISERIES_IBM)
   #   define PEGASUS_PLATFORM_OS400_ISERIES_IBM
   # endif
   # include <Pegasus/Common/Platform_OS400_ISERIES_IBM.h>
 #else #else
 # error "<Pegasus/Common/Config.h>: Unsupported Platform" # error "<Pegasus/Common/Config.h>: Unsupported Platform"
 #endif #endif
  
 #include <iostream>  
   
   
   //<<< Sun Apr  6 19:28:00 2003 mdd >>>
   //
   // COMPILER Checks
   //
   // This is to allow a check for GCC > 3.2
   // It needs to be the first thing we check because the next lines load
   // further source files
   
   #if defined(__GNUC__)
   #define GCC_VERSION (__GNUC__ * 10000 \
                                  + __GNUC_MINOR__ * 100 \
                                  + __GNUC_PATCHLEVEL__)
   
   // To test for GCC > 3.2.0:
   //     #if GCC_VERSION > 30200
   
   #endif
   
   
 #include <cstdlib> #include <cstdlib>
  
   // used for Windows only
   #ifndef PEGASUS_EXPORT
   #define PEGASUS_EXPORT /* empty */
   #endif
  
 #ifdef PEGASUS_HAVE_NAMESPACES #ifdef PEGASUS_HAVE_NAMESPACES
 # define PEGASUS_NAMESPACE_BEGIN namespace Pegasus { # define PEGASUS_NAMESPACE_BEGIN namespace Pegasus {
Line 100 
Line 136 
 # define PEGASUS_TEMPLATE_SPECIALIZATION # define PEGASUS_TEMPLATE_SPECIALIZATION
 #endif #endif
  
   #ifdef PEGASUS_HAVE_IOS_BINARY
   #define PEGASUS_IOS_BINARY ,std::ios::binary
   #define PEGASUS_OR_IOS_BINARY | std::ios::binary
   #else
   #define PEGASUS_IOS_BINARY /* empty */
   #define PEGASUS_OR_IOS_BINARY /* empty */
   #endif
  
 PEGASUS_NAMESPACE_BEGIN  #ifndef PEGASUS_SINT64_LITERAL
   #define PEGASUS_SINT64_LITERAL(X) (Sint64 (X##LL))
   #endif
   #ifndef PEGASUS_UINT64_LITERAL
   #define PEGASUS_UINT64_LITERAL(X) (Uint64 (X##ULL))
   #endif
  
 #ifdef PEGASUS_HAVE_BOOLEAN  // Used in printf and scanf conversion strings for Uint64 and Sint64 arguments
   typedef bool Boolean;  #ifndef PEGASUS_64BIT_CONVERSION_WIDTH
 #else  #define PEGASUS_64BIT_CONVERSION_WIDTH "ll"
 # include <Pegasus/Common/Boolean.h>  
 #endif #endif
  
   PEGASUS_NAMESPACE_BEGIN
   
   typedef bool Boolean;  // If platform w/o bool, add flag and include Boolean.h
 typedef unsigned char Uint8; typedef unsigned char Uint8;
 typedef char Sint8; typedef char Sint8;
 typedef unsigned short Uint16; typedef unsigned short Uint16;
Line 141 
Line 191 
 #define PEGASUS_STATIC_CDECL #define PEGASUS_STATIC_CDECL
 #endif #endif
  
   
 #endif  /* Pegasus_Config_h */ #endif  /* Pegasus_Config_h */


Legend:
Removed from v.1.31  
changed lines
  Added in v.1.41

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2