Fix NATIVE_WORDSIZE on 64-bit Windows (fixes memory alignment)
This commit is contained in:
parent
9a40febdb9
commit
7228bc7e5f
|
|
@ -332,7 +332,7 @@ typedef struct _object PyObject;
|
|||
|
||||
#ifdef __WORDSIZE
|
||||
#define NATIVE_WORDSIZE __WORDSIZE
|
||||
#elif defined(_LP64)
|
||||
#elif defined(_LP64) || defined(_WIN64)
|
||||
#define NATIVE_WORDSIZE 64
|
||||
#else
|
||||
#define NATIVE_WORDSIZE 32
|
||||
|
|
|
|||
Loading…
Reference in New Issue