summaryrefslogtreecommitdiff
path: root/src/net/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/network.cpp')
-rw-r--r--src/net/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/network.cpp b/src/net/network.cpp
index e5a0dead..570b31bb 100644
--- a/src/net/network.cpp
+++ b/src/net/network.cpp
@@ -30,7 +30,7 @@
#include "messagein.h"
#include "../log.h"
-#ifdef SDL_BYTEORDER == SDL_BIG_ENDIAN
+#if SDL_BYTEORDER == SDL_BIG_ENDIAN
#include "win2mac.h"
#endif
@@ -247,7 +247,7 @@ void flush()
unsigned short readWord(int pos)
{
-#ifdef SDL_BYTEORDER == SDL_BIG_ENDIAN
+#if SDL_BYTEORDER == SDL_BIG_ENDIAN
return DR_SwapTwoBytes((*(unsigned short*)(in+(pos))));
#else
return (*(unsigned short *)(in+(pos)));