From 259d2de59a36f2adecee9f20878d9b94f6e6b8b4 Mon Sep 17 00:00:00 2001 From: Zero-One101 Date: Tue, 1 Dec 2015 03:01:29 +0000 Subject: [PATCH] Added an include, fixed a macro --- include/Athena/Global.hpp | 2 +- include/Athena/Types.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/Athena/Global.hpp b/include/Athena/Global.hpp index db112c3..bdea053 100644 --- a/include/Athena/Global.hpp +++ b/include/Athena/Global.hpp @@ -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, ...) diff --git a/include/Athena/Types.hpp b/include/Athena/Types.hpp index 26d8495..bc6454d 100644 --- a/include/Athena/Types.hpp +++ b/include/Athena/Types.hpp @@ -44,6 +44,7 @@ typedef unsigned long long atUint64; // Vector types #if __SSE__ #include +#include #ifndef _WIN32 #include #endif