diff options
author | 2015-12-09 10:50:20 +0100 | |
---|---|---|
committer | 2015-12-09 10:50:20 +0100 | |
commit | 1d40aecb585e8dd1fedefdd35a833c66fc2a1b96 (patch) | |
tree | 32e8c69d15ff9577e8f7c042b49b3865be8695e3 /src/lib/util/corealloc.cpp | |
parent | 700683468a362d039644207620ef8e01b0e78419 (diff) |
Cleanup of osdcomm.h (nw)
Diffstat (limited to 'src/lib/util/corealloc.cpp')
-rw-r--r-- | src/lib/util/corealloc.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 |