// xdebug internal header
#ifndef _XDEBUG_
#define _XDEBUG_

#if defined(__ghs)
# include <yvals.h>

#if defined(__GHS_PRAGMAS)
#pragma ghs start_cxx_lib_header
#pragma ghs startdata
#endif
#if defined(__ghs) && defined(__ghs_max_pack_value)
#pragma pack (push, __ghs_max_pack_value)
#endif

# if !_HAS_EXCEPTIONS
#   define _CHECK_LIB_ALLOC __ghs_check_library_allocation

extern void __library_allocation_failed_cannot_throw(void);

#   if defined(__NAMESPACES) && !defined(__EMBEDDED_CXX_HEADERS)
namespace std {
  using ::__library_allocation_failed_cannot_throw;
}
#   endif /* defined(__NAMESPACES) && !defined(__EMBEDDED_CXX_HEADERS) */

inline void * __ghs_check_library_allocation(void *alloc_result)
{
  if (alloc_result == 0)
    __library_allocation_failed_cannot_throw();
  return alloc_result;
}

# endif /* !_HAS_EXCEPTIONS */

#if defined(__ghs) && defined(__ghs_max_pack_value)
#pragma pack(pop)
#endif
#if defined(__GHS_PRAGMAS)
#pragma ghs enddata
#pragma ghs end_cxx_lib_header
#endif

#endif /* defined(__ghs) */
#endif /* _XDEBUG_ */

/*
 * Copyright (c) 1992-2003 by P.J. Plauger.  ALL RIGHTS RESERVED.
 * Consult your license regarding permissions and restrictions.
V4.02:0324 */
