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, ...) \
do { atEXCEPTION_HANDLER __handler = atGetExceptionHandler(); \
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)
#else
#define atDebug(fmt, ...)

View File

@ -44,6 +44,7 @@ typedef unsigned long long atUint64;
// Vector types
#if __SSE__
#include <xmmintrin.h>
#include <emmintrin.h>
#ifndef _WIN32
#include <mm_malloc.h>
#endif