Fix compilation previous commit

This commit is contained in:
Jeroen Bakker
2019-05-31 11:11:57 +02:00
parent e3dfe29110
commit 9f0107bb14

View File

@@ -84,6 +84,11 @@ extern "C" {
# define BLI_assert(a) ((void)0)
#endif
// A Clang feature extension to determine compiler features.
#ifndef __has_feature
# define __has_feature(x) 0
#endif
/* C++ can't use _Static_assert, expects static_assert() but c++0x only,
* Coverity also errors out. */
#if (!defined(__cplusplus)) && (!defined(__COVERITY__)) && \