summaryrefslogtreecommitdiff
path: root/src/blitter
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2018-01-28 23:01:10 +0100
committerMichael Lutz <michi@icosahedron.de>2018-04-10 23:30:01 +0200
commit74b7f0a9aa7658857714db365853db8f6c8512bd (patch)
tree6a7dcd9456458fa5212236c90a4044542e040ec4 /src/blitter
parentfa587ad3cc214351fc4de0500ca7b274f0955741 (diff)
downloadopenttd-74b7f0a9aa7658857714db365853db8f6c8512bd.tar.xz
Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers.
Diffstat (limited to 'src/blitter')
-rw-r--r--src/blitter/32bpp_sse_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blitter/32bpp_sse_type.h b/src/blitter/32bpp_sse_type.h
index ac8da1be7..b32d3c5ab 100644
--- a/src/blitter/32bpp_sse_type.h
+++ b/src/blitter/32bpp_sse_type.h
@@ -27,6 +27,8 @@
#define MARGIN_NORMAL_THRESHOLD (zoom == ZOOM_LVL_OUT_32X ? 8 : 4) ///< Minimum width to use margins with BM_NORMAL.
#define MARGIN_REMAP_THRESHOLD 4 ///< Minimum width to use margins with BM_COLOUR_REMAP.
+#undef ALIGN
+
#ifdef _MSC_VER
#define ALIGN(n) __declspec(align(n))
#else