Follow-up to earlier warning correction with Microsoft compiler
The earlier warning is architecture-dependent. The warning showed up under an x64 build, but not an x86 build. The __unaligned keyword is not supported under an x86 build. Refine the preprocessor conditional.
This commit is contained in:
@@ -36,7 +36,7 @@ extern void objects_globals_init(void);
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) && defined(_WIN64)
|
||||||
#define UNALIGNED_POINTER __unaligned
|
#define UNALIGNED_POINTER __unaligned
|
||||||
#else
|
#else
|
||||||
#define UNALIGNED_POINTER
|
#define UNALIGNED_POINTER
|
||||||
|
|||||||
Reference in New Issue
Block a user