Add __builtin_expect fallback for MSVC
This commit is contained in:
parent
73d8a1120a
commit
a715656fb7
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ extern "C" {
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#define __attribute__(x)
|
#define __attribute__(x)
|
||||||
#define inline __inline
|
#define inline __inline
|
||||||
|
#define __builtin_expect(x,n) x
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue