mirror of https://github.com/libAthena/athena.git
Added an include, fixed a macro
This commit is contained in:
parent
87013ab673
commit
259d2de59a
|
@ -139,7 +139,7 @@ std::ostream& operator<<(std::ostream& os, const Athena::Endian& endian);
|
||||||
#define atDebug(fmt, ...) \
|
#define atDebug(fmt, ...) \
|
||||||
do { atEXCEPTION_HANDLER __handler = atGetExceptionHandler(); \
|
do { atEXCEPTION_HANDLER __handler = atGetExceptionHandler(); \
|
||||||
if (__handler) \
|
if (__handler) \
|
||||||
__handler(Athena::error::LevelMessage, __FILE__, AT_PRETTY_FUNCTION, __LINE__, fmt, ##__VA_ARGS__); \
|
__handler(Athena::error::Level::Message, __FILE__, AT_PRETTY_FUNCTION, __LINE__, fmt, ##__VA_ARGS__); \
|
||||||
} while(0)
|
} while(0)
|
||||||
#else
|
#else
|
||||||
#define atDebug(fmt, ...)
|
#define atDebug(fmt, ...)
|
||||||
|
|
|
@ -44,6 +44,7 @@ typedef unsigned long long atUint64;
|
||||||
// Vector types
|
// Vector types
|
||||||
#if __SSE__
|
#if __SSE__
|
||||||
#include <xmmintrin.h>
|
#include <xmmintrin.h>
|
||||||
|
#include <emmintrin.h>
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <mm_malloc.h>
|
#include <mm_malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue