Added an include, fixed a macro

This commit is contained in:
Zero-One101 2015-12-01 03:01:29 +00:00
parent 87013ab673
commit 259d2de59a
2 changed files with 2 additions and 1 deletions

View File

@ -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, ...)

View File

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