mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
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
|
#ifdef __WORDSIZE
|
||||||
#define NATIVE_WORDSIZE __WORDSIZE
|
#define NATIVE_WORDSIZE __WORDSIZE
|
||||||
#elif defined(_LP64)
|
#elif defined(_LP64) || defined(_WIN64)
|
||||||
#define NATIVE_WORDSIZE 64
|
#define NATIVE_WORDSIZE 64
|
||||||
#else
|
#else
|
||||||
#define NATIVE_WORDSIZE 32
|
#define NATIVE_WORDSIZE 32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user