(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.45 and 1.64

version 1.45, 2003/10/22 14:26:02 version 1.64, 2006/09/05 17:13:09
Line 1 
Line 1 
 //%2003////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.  // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 // IBM Corp.; EMC Corporation, The Open Group. // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 23 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Mike Brasher (mbrasher@bmc.com)  
 //  
 // Modified By: Rudy Schuet (rudy.schuet@compaq.com) 11/25/01  
 //              K. Schopmeyer  
 //              Carol Ann Krug Graves, Hewlett-Packard Company  
 //                (carolann_graves@hp.com)  
 //              David Eger (dteger@us.ibm.com)  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #ifndef Pegasus_Config_h #ifndef Pegasus_Config_h
Line 40 
Line 38 
 # include <Pegasus/Common/Platform_WIN32_IX86_MSVC.h> # include <Pegasus/Common/Platform_WIN32_IX86_MSVC.h>
 #elif defined (PEGASUS_PLATFORM_LINUX_IX86_GNU) #elif defined (PEGASUS_PLATFORM_LINUX_IX86_GNU)
 # include <Pegasus/Common/Platform_LINUX_IX86_GNU.h> # include <Pegasus/Common/Platform_LINUX_IX86_GNU.h>
   #elif defined (PEGASUS_PLATFORM_LINUX_XSCALE_GNU)
   # include <Pegasus/Common/Platform_LINUX_XSCALE_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) #elif defined (PEGASUS_PLATFORM_HPUX_PARISC_ACC)
Line 54 
Line 54 
 # include <Pegasus/Common/Platform_SOLARIS_SPARC_CC.h> # include <Pegasus/Common/Platform_SOLARIS_SPARC_CC.h>
 #elif defined (PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) #elif defined (PEGASUS_PLATFORM_ZOS_ZSERIES_IBM)
 # include <Pegasus/Common/Platform_ZOS_ZSERIES_IBM.h> # include <Pegasus/Common/Platform_ZOS_ZSERIES_IBM.h>
 #elif defined (PEGASUS_PLATFORM_NSK_NONSTOP_NMCPLUS)  
 # 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_X86_64_GNU)
   # include <Pegasus/Common/Platform_LINUX_X86_64_GNU.h>
 #elif defined (PEGASUS_PLATFORM_LINUX_PPC_GNU) #elif defined (PEGASUS_PLATFORM_LINUX_PPC_GNU)
 # include <Pegasus/Common/Platform_LINUX_PPC_GNU.h> # include <Pegasus/Common/Platform_LINUX_PPC_GNU.h>
   #elif defined (PEGASUS_PLATFORM_LINUX_PPC64_GNU)
   # include <Pegasus/Common/Platform_LINUX_PPC64_GNU.h>
 #elif defined (PEGASUS_PLATFORM_LINUX_ZSERIES_GNU) #elif defined (PEGASUS_PLATFORM_LINUX_ZSERIES_GNU)
 # include <Pegasus/Common/Platform_LINUX_ZSERIES_GNU.h> # include <Pegasus/Common/Platform_LINUX_ZSERIES_GNU.h>
   #elif defined (PEGASUS_PLATFORM_LINUX_ZSERIES64_GNU)
   # include <Pegasus/Common/Platform_LINUX_ZSERIES64_GNU.h>
 #elif defined (__OS400__) #elif defined (__OS400__)
 # if !defined (PEGASUS_PLATFORM_OS400_ISERIES_IBM) # if !defined (PEGASUS_PLATFORM_OS400_ISERIES_IBM)
 #   define PEGASUS_PLATFORM_OS400_ISERIES_IBM #   define PEGASUS_PLATFORM_OS400_ISERIES_IBM
 # endif # endif
 # include <Pegasus/Common/Platform_OS400_ISERIES_IBM.h> # include <Pegasus/Common/Platform_OS400_ISERIES_IBM.h>
   #elif defined (PEGASUS_PLATFORM_DARWIN_PPC_GNU)
   # include <Pegasus/Common/Platform_DARWIN_PPC_GNU.h>
   #elif defined (PEGASUS_PLATFORM_VMS_ALPHA_DECCXX)
   # include <Pegasus/Common/Platform_VMS_ALPHA_DECCXX.h>
   #elif defined (PEGASUS_PLATFORM_VMS_IA64_DECCXX)
   # include <Pegasus/Common/Platform_VMS_IA64_DECCXX.h>
   #elif defined (PEGASUS_PLATFORM_LINUX_XSCALE_GNU)
   # include <Pegasus/Common/Platform_LINUX_XSCALE_GNU.h>
 #else #else
 # error "<Pegasus/Common/Config.h>: Unsupported Platform" # error "<Pegasus/Common/Config.h>: Unsupported Platform"
 #endif #endif
Line 93 
Line 105 
 #endif #endif
  
  
   #ifdef __cplusplus
 #include <cstdlib> #include <cstdlib>
   #endif
   
   #ifndef PEGASUS_IMPORT
   # define PEGASUS_IMPORT /* empty */
   #endif
  
 // used for Windows only  
 #ifndef PEGASUS_EXPORT #ifndef PEGASUS_EXPORT
 #define PEGASUS_EXPORT /* empty */ #define PEGASUS_EXPORT /* empty */
 #endif #endif
  
   /*
   **==============================================================================
   **
   ** PEGASUS_HIDDEN_LINKAGE
   **
   **     This macro suppresses the export of a symbol in contexts in which the
   **     default linkage would have otherwise exported the symbol. Consider the
   **     following example:
   **
   **         class PEGASUS_COMMON_LINKAGE MyClass
   **         {
   **         public:
   **
   **             // Is exported (due to PEGASUS_COMMON_LINKAGE macro).
   **             void f();
   **
   **             // Is not exported (despite the PEGASUS_COMMON_LINKAGE macro).
   **             PEGASUS_HIDDEN_LINKAGE void g(); // not-exported.
   **         };
   **
   **     Notes: this macro has an empty expansion on many platforms since this
   **     feature is compiler specific.
   **
   **==============================================================================
   */
   #ifndef PEGASUS_HIDDEN_LINKAGE
   # define PEGASUS_HIDDEN_LINKAGE /* empty */
   #endif
   
 #ifdef PEGASUS_HAVE_NAMESPACES #ifdef PEGASUS_HAVE_NAMESPACES
 # define PEGASUS_NAMESPACE_BEGIN namespace Pegasus { # define PEGASUS_NAMESPACE_BEGIN namespace Pegasus {
 # define PEGASUS_NAMESPACE_END } # define PEGASUS_NAMESPACE_END }
   # define PEGASUS_NAMESPACE(X) Pegasus::X
  
 #ifndef PEGASUS_HAVE_NO_STD #ifndef PEGASUS_HAVE_NO_STD
 # define PEGASUS_STD(X) std::X # define PEGASUS_STD(X) std::X
Line 115 
Line 162 
 #else #else
 # define PEGASUS_NAMESPACE_BEGIN /* empty */ # define PEGASUS_NAMESPACE_BEGIN /* empty */
 # define PEGASUS_NAMESPACE_END /* empty */ # define PEGASUS_NAMESPACE_END /* empty */
   # define PEGASUS_NAMESPACE(X) X
 # define PEGASUS_STD(X) X # define PEGASUS_STD(X) X
 # define PEGASUS_USING_STD # define PEGASUS_USING_STD
 # define PEGASUS_USING_PEGASUS # define PEGASUS_USING_PEGASUS
Line 166 
Line 214 
 #define PEGASUS_64BIT_CONVERSION_WIDTH "ll" #define PEGASUS_64BIT_CONVERSION_WIDTH "ll"
 #endif #endif
  
   #ifndef PEGASUS_MAXHOSTNAMELEN
   #define PEGASUS_MAXHOSTNAMELEN MAXHOSTNAMELEN
   #endif
   
   
   #ifdef __cplusplus
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 typedef bool Boolean;  // If platform w/o bool, add flag and include Boolean.h 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 signed char Sint8;
 typedef unsigned short Uint16; typedef unsigned short Uint16;
 typedef short Sint16;  typedef signed short Sint16;
 typedef unsigned int Uint32; typedef unsigned int Uint32;
 typedef int Sint32;  typedef signed int Sint32;
 typedef float Real32; typedef float Real32;
 typedef double Real64; typedef double Real64;
 typedef PEGASUS_UINT64 Uint64; typedef PEGASUS_UINT64 Uint64;
Line 183 
Line 237 
 #define PEG_NOT_FOUND Uint32(-1) #define PEG_NOT_FOUND Uint32(-1)
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
   #endif
  
 #ifdef PEGASUS_SUPPRESS_UNREACHABLE_STATEMENTS #ifdef PEGASUS_SUPPRESS_UNREACHABLE_STATEMENTS
 # define PEGASUS_UNREACHABLE(CODE) # define PEGASUS_UNREACHABLE(CODE)
Line 196 
Line 251 
 # define PEGASUS_MAX_PRINTABLE_CHAR 127 # define PEGASUS_MAX_PRINTABLE_CHAR 127
 #endif #endif
  
 // used for zOS only  
 #ifndef PEGASUS_STATIC_CDECL  
 #define PEGASUS_STATIC_CDECL  
 #endif  
   
   
 #endif  /* Pegasus_Config_h */ #endif  /* Pegasus_Config_h */


Legend:
Removed from v.1.45  
changed lines
  Added in v.1.64

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2