2014-08-16 17:02:21 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define __attribute_alloc_size(A,...)
|
2015-10-30 02:52:57 +00:00
|
|
|
#define __attribute_always_inline()
|
2017-04-08 16:48:18 +00:00
|
|
|
#define __attribute_cold
|
2014-08-16 17:02:21 +00:00
|
|
|
#define __attribute_format_printf(A,B)
|
|
|
|
#define __attribute_format_arg(A)
|
|
|
|
#define __attribute_malloc()
|
|
|
|
#define __attribute_nonnull(...)
|
2017-04-08 16:48:18 +00:00
|
|
|
#define __attribute_noreturn
|
|
|
|
#define __attribute_unused
|
2014-08-16 17:02:21 +00:00
|
|
|
#define __attribute_used
|
|
|
|
#define __attribute_warn_unused_result
|
2017-04-08 16:48:18 +00:00
|
|
|
#define likely(X) (X)
|
|
|
|
#define unlikely(X) (X)
|
2014-08-16 17:02:21 +00:00
|
|
|
#define DXX_HAVE_CXX_ARRAY
|
|
|
|
#define DXX_HAVE_CXX11_ADDRESSOF
|
|
|
|
#define DXX_HAVE_CXX11_RANGE_FOR
|
|
|
|
#define DXX_HAVE_CXX11_STATIC_ASSERT
|
|
|
|
#define DXX_HAVE_CXX11_TYPE_TRAITS
|
|
|
|
#define DXX_HAVE_CXX11_BEGIN
|
|
|
|
#define dxx_builtin_constant_p(A) (false)
|
|
|
|
#define DXX_INHERIT_CONSTRUCTORS(D,B,...) \
|
|
|
|
template <typename... Args> \
|
|
|
|
D(Args&&... args) : \
|
|
|
|
B,##__VA_ARGS__(std::forward<Args>(args)...) {}
|
2018-01-22 04:50:10 +00:00
|
|
|
#define DXX_ptrdiff_cast_int static_cast<int>
|
|
|
|
#define DXX_WORDS_BIGENDIAN 0
|
2014-08-16 17:02:21 +00:00
|
|
|
|
|
|
|
#define __func__ __FUNCTION__
|
|
|
|
typedef signed long ssize_t;
|