From 8e96f24d269d83f94013d8b709dbbcb8cb7cc061 Mon Sep 17 00:00:00 2001 From: Kp Date: Sat, 8 Apr 2017 16:48:18 +0000 Subject: [PATCH] Add stub __attribute_cold to Visual Studio dxxsconf.h header --- contrib/vs2013/dxxsconf.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/vs2013/dxxsconf.h b/contrib/vs2013/dxxsconf.h index 637fef97b..ce9e79702 100644 --- a/contrib/vs2013/dxxsconf.h +++ b/contrib/vs2013/dxxsconf.h @@ -2,12 +2,17 @@ #define __attribute_alloc_size(A,...) #define __attribute_always_inline() +#define __attribute_cold #define __attribute_format_printf(A,B) #define __attribute_format_arg(A) #define __attribute_malloc() #define __attribute_nonnull(...) +#define __attribute_noreturn +#define __attribute_unused #define __attribute_used #define __attribute_warn_unused_result +#define likely(X) (X) +#define unlikely(X) (X) #define DXX_HAVE_CXX_ARRAY #define DXX_HAVE_CXX11_ADDRESSOF #define DXX_HAVE_CXX11_RANGE_FOR