Compilation fix (mingw)

This commit is contained in:
Nekotekina 2017-03-05 19:00:08 +03:00
parent 3baf79f929
commit 19a698682b
5 changed files with 13 additions and 7 deletions

View file

@ -31,6 +31,7 @@
#define SAFE_BUFFERS
#define NEVER_INLINE __attribute__((noinline))
#define FORCE_INLINE __attribute__((always_inline)) inline
#define thread_local __thread
#endif
#define CHECK_SIZE(type, size) static_assert(sizeof(type) == size, "Invalid " #type " type size")