diff --git a/src/common.hpp b/src/common.hpp index 69f17b43..196698bb 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -57,4 +57,10 @@ static FORCE_INLINE constexpr u32 GetVideoFrequency(bool pal) { #define BYTE_INDEX(i) (15 - (i)) #define unlikely(exp) __builtin_expect(exp, 0) -#define likely(exp) __builtin_expect(exp, 1) \ No newline at end of file +#define likely(exp) __builtin_expect(exp, 1) + +#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__) +#define ABI_WINDOWS +#else +#define ABI_UNIX +#endif \ No newline at end of file