Add __builtin_expect fallback for MSVC

This commit is contained in:
Xavier Mendez 2014-09-03 11:14:58 +02:00
parent 73d8a1120a
commit a715656fb7

View file

@ -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