summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/messagein.cpp6
-rw-r--r--src/net/tmwa/messageout.cpp2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/net/tmwa/messagein.cpp b/src/net/tmwa/messagein.cpp
index 219466187..43c5b882f 100644
--- a/src/net/tmwa/messagein.cpp
+++ b/src/net/tmwa/messagein.cpp
@@ -29,14 +29,12 @@
#include "utils/stringutils.h"
+#ifndef SDL_BIG_ENDIAN
#include <SDL_endian.h>
+#endif // SDL_BYTEORDER
#include "debug.h"
-#ifndef SDL_BYTEORDER
-#error missing SDL_endian.h
-#endif // SDL_BYTEORDER
-
namespace TmwAthena
{
diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp
index e0e7ffdb2..cc24d9f0d 100644
--- a/src/net/tmwa/messageout.cpp
+++ b/src/net/tmwa/messageout.cpp
@@ -30,7 +30,7 @@
#include "debug.h"
-#ifndef SDL_BYTEORDER
+#ifndef SDL_BIG_ENDIAN
#error missing SDL_endian.h
#endif // SDL_BYTEORDER