From 8e088f6659399961d7dd78190e1ee3ad3284ad9e Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 19 Oct 2019 23:42:51 +0000 Subject: [PATCH] Equivalent to jfbuild commit b6a666745cea21c6f8193b046bcdd0636fb7c166 git-svn-id: https://svn.eduke32.com/eduke32@8158 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/include/mdsprite.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/build/include/mdsprite.h b/source/build/include/mdsprite.h index b85449204..a6ab29fbd 100644 --- a/source/build/include/mdsprite.h +++ b/source/build/include/mdsprite.h @@ -4,7 +4,11 @@ #ifdef USE_OPENGL #include "hightile.h" +#if defined(_M_IX86) || defined(_M_AMD64) || defined(__i386) || defined(__x86_64) +#define SHIFTMOD32(a) (a) +#else #define SHIFTMOD32(a) ((a)&31) +#endif #define IDP2_MAGIC 0x32504449 #define IDP3_MAGIC 0x33504449