(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.82 and 1.82.2.2

version 1.82, 2011/01/12 13:30:24 version 1.82.2.2, 2013/06/03 22:35:12
Line 50 
Line 50 
 # 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_PARISC_GNU)
   # include <Pegasus/Common/Platform_HPUX_PARISC_GNU.h>
 #elif defined (PEGASUS_PLATFORM_HPUX_IA64_ACC) #elif defined (PEGASUS_PLATFORM_HPUX_IA64_ACC)
 # include <Pegasus/Common/Platform_HPUX_IA64_ACC.h> # include <Pegasus/Common/Platform_HPUX_IA64_ACC.h>
   #elif defined (PEGASUS_PLATFORM_HPUX_IA64_GNU)
   # include <Pegasus/Common/Platform_HPUX_IA64_GNU.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 76 
Line 80 
 # include <Pegasus/Common/Platform_LINUX_PPC_GNU.h> # include <Pegasus/Common/Platform_LINUX_PPC_GNU.h>
 #elif defined (PEGASUS_PLATFORM_LINUX_PPC64_GNU) #elif defined (PEGASUS_PLATFORM_LINUX_PPC64_GNU)
 # include <Pegasus/Common/Platform_LINUX_PPC64_GNU.h> # include <Pegasus/Common/Platform_LINUX_PPC64_GNU.h>
   #elif defined (PEGASUS_PLATFORM_LINUX_PPC_E500_GNU)
   # include <Pegasus/Common/Platform_LINUX_PPC_E500_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) #elif defined (PEGASUS_PLATFORM_LINUX_ZSERIES64_GNU)
Line 90 
Line 96 
 # include <Pegasus/Common/Platform_VMS_IA64_DECCXX.h> # include <Pegasus/Common/Platform_VMS_IA64_DECCXX.h>
 #elif defined (PEGASUS_PLATFORM_LINUX_XSCALE_GNU) #elif defined (PEGASUS_PLATFORM_LINUX_XSCALE_GNU)
 # include <Pegasus/Common/Platform_LINUX_XSCALE_GNU.h> # include <Pegasus/Common/Platform_LINUX_XSCALE_GNU.h>
   #elif defined (PEGASUS_PLATFORM_LINUX_X86_64_CLANG)
   # include <Pegasus/Common/Platform_LINUX_X86_64_CLANG.h>
   #elif defined (PEGASUS_PLATFORM_LINUX_IX86_CLANG)
   # include <Pegasus/Common/Platform_LINUX_IX86_CLANG.h>
 #else #else
 # error "<Pegasus/Common/Config.h>: Unsupported Platform" # error "<Pegasus/Common/Config.h>: Unsupported Platform"
 #endif #endif
Line 268 
Line 278 
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
 #endif #endif
  
   
   /*
    *PEGASUS_UNREACHABLE implies unreachable code in pegasus.
    *Should be used in places where the control should not reached.
    *Please use in this way
    * PEGASUS_UNREACHABLE( expression;)
    *not in this way
    * PEGASUS_UNREACHABLE(expression);
    *
    *Though both are same, Former will prevent ;;(double semicolon)
    *
    */
   
 #ifdef PEGASUS_SUPPRESS_UNREACHABLE_STATEMENTS #ifdef PEGASUS_SUPPRESS_UNREACHABLE_STATEMENTS
 # define PEGASUS_UNREACHABLE(CODE) # define PEGASUS_UNREACHABLE(CODE)
 #else #else
   # if defined(__clang__ )
   #  define PEGASUS_UNREACHABLE(CODE) __builtin_unreachable();
   # elif defined(GCC_VERSION)
   #  if GCC_VERSION >= 40500 //Unreachable supported only for gcc 4.5 and above
   #   define PEGASUS_UNREACHABLE(CODE) __builtin_unreachable();
   #  else
   #   define PEGASUS_UNREACHABLE(CODE) CODE
   #  endif
   # elif defined(_MSC_VER) //PEGASUS_OS_TYPE_WINDOWS
   #  define PEGASUS_UNREACHABLE(CODE) __assume(0);
   # else
 # define PEGASUS_UNREACHABLE(CODE) CODE # define PEGASUS_UNREACHABLE(CODE) CODE
 #endif #endif
   #endif
  
 /* /*
 **============================================================================== **==============================================================================
Line 313 
Line 348 
 # define PEGASUS_INITIAL_THREADSTACK_SIZE 256*1024 # define PEGASUS_INITIAL_THREADSTACK_SIZE 256*1024
 #endif #endif
  
   /*
   ** PEGASUS_PG_OBJECTMANAGER_ELEMENTNAME
   **
   ** This macro is used to set ElementName property on the PG_ObjectManager
   ** instance. This value is also used in SLP announcment for service-hi-name.
   **
   ** This value can be overridden platform specific by defining the macro in
   ** the corresponding PEGASUS_PLATFORM_*.h file.
   */
   #ifndef PEGASUS_PG_OBJECTMANAGER_ELEMENTNAME
   # ifdef PEGASUS_FLAVOR
   #  define PEGASUS_PG_OBJECTMANAGER_ELEMENTNAME PEGASUS_FLAVOR"-pegasus"
   # else
   #  define PEGASUS_PG_OBJECTMANAGER_ELEMENTNAME "Pegasus"
   # endif
   #endif
   
   /*
   ** PEGASUS_INSTANCEID_GLOBAL_PREFIX
   ** This macro is used to create the Name property on the PG_ObjectManager
   ** instance. This value is also used in SLP announcement for service-id.
   **
   ** This value can be overridden platform specific by defining the macro in
   ** the corresponding PEGASUS_PLATFORM_*.h file.
   */
   #ifndef PEGASUS_INSTANCEID_GLOBAL_PREFIX
   # ifdef PEGASUS_FLAVOR
   #  define PEGASUS_INSTANCEID_GLOBAL_PREFIX "PG-"PEGASUS_FLAVOR
   # else
   #  define PEGASUS_INSTANCEID_GLOBAL_PREFIX "PG"
   # endif
   #endif
   
 #endif  /* Pegasus_Config_h */ #endif  /* Pegasus_Config_h */


Legend:
Removed from v.1.82  
changed lines
  Added in v.1.82.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2