32/64 bit universal builds support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -662,7 +662,18 @@
|
|||||||
/* According to Stefan even ancient Mac compilers defined __BIG_ENDIAN__ */
|
/* According to Stefan even ancient Mac compilers defined __BIG_ENDIAN__ */
|
||||||
# warning "Compiling wxMac with probably wrong endianness"
|
# warning "Compiling wxMac with probably wrong endianness"
|
||||||
#endif
|
#endif
|
||||||
|
/* also the 32/64 bit universal builds must be handled accordingly */
|
||||||
|
#ifdef __DARWIN__
|
||||||
|
# ifdef __LP64__
|
||||||
|
# define SIZEOF_VOID_P 8
|
||||||
|
# define SIZEOF_LONG 8
|
||||||
|
# define SIZEOF_SIZE_T 8
|
||||||
|
# else
|
||||||
|
# define SIZEOF_VOID_P 4
|
||||||
|
# define SIZEOF_LONG 4
|
||||||
|
# define SIZEOF_SIZE_T 4
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
check the consistency of the settings in setup.h: note that this must be
|
check the consistency of the settings in setup.h: note that this must be
|
||||||
done after setting wxUSE_UNICODE correctly as it is used in wx/chkconf.h
|
done after setting wxUSE_UNICODE correctly as it is used in wx/chkconf.h
|
||||||
|
Reference in New Issue
Block a user