From 1d40aecb585e8dd1fedefdd35a833c66fc2a1b96 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 9 Dec 2015 10:50:20 +0100 Subject: Cleanup of osdcomm.h (nw) --- src/lib/util/corealloc.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/util/corealloc.cpp') diff --git a/src/lib/util/corealloc.cpp b/src/lib/util/corealloc.cpp index 9ca7af380d3..9e25af63b10 100644 --- a/src/lib/util/corealloc.cpp +++ b/src/lib/util/corealloc.cpp @@ -27,7 +27,10 @@ // define this to zap memory to a fixed non-0 value before freeing //#define OVERWRITE_FREED_MEMORY - +// compatibility with non-clang compilers +#ifndef __has_feature + #define __has_feature(x) 0 +#endif //************************************************************************** // CONSTANTS -- cgit v1.2.3-70-g09d2