Restrict to windows only, in case stl structures change size elsewhere

This commit is contained in:
baldurk
2015-01-28 17:19:35 +00:00
parent 68b9179f89
commit 50e571e7d4
+1 -1
View File
@@ -35,7 +35,7 @@
// Win32 to try and hide less padding with the larger alignment requirement
// of 8-byte pointers.
#if defined(__i386__) || defined(_M_IX86)
#if defined(WIN32) && defined(_M_IX86)
template<size_t a, size_t e> class oversized { int check[int(a)-int(e)+1]; };
template<size_t a, size_t e> class undersized { int check[int(e)-int(a)+1]; };