Don't bother about alignment on Windows for now.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1626 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-04-11 01:57:08 +00:00
parent fce0d6d9f4
commit 95456f584d
+6 -1
View File
@@ -81,7 +81,12 @@ typedef DWORD (*PDWORDFUNC) (void);
# define _ALIGNED_ON(bytes) __attribute__((aligned(bytes)))
#elif defined(_MSC_VER)
# define _ALIGNED_ANY
# define _ALIGNED_ON(bytes) __declspec(align(bytes))
//# define _ALIGNED_ON(bytes) __declspec(align(bytes))
// __declspec(align(bytes)) expects a constant. 'sizeof (type)'
// will not do. This is something that needs some attention,
// once we find someone with a 64 bits Windows machine.
// Leaving it alone for now.
# define _ALIGNED_ON(bytes)
#endif
#endif /* _COMPILER_H */