Applied some of patch [ 688466 ] MSVC7 build & bug fixes
by Darren Whobrey git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -794,6 +794,12 @@ typedef float wxFloat32 ;
|
||||
#define wxUINT64_SWAP_ON_BE(val) (val)
|
||||
#endif
|
||||
|
||||
// Macros to convert from unsigned long to void pointer.
|
||||
// High order truncation occurs if the respective type is not large enough.
|
||||
#define WXPTRULONGSLICE (((wxBYTE_ORDER==wxBIG_ENDIAN)&&(sizeof(void*)==8)&&(sizeof(unsigned long)<8))?1:0)
|
||||
#define wxPtrToULong(p) (((unsigned long*)(&(p)))[WXPTRULONGSLICE])
|
||||
#define wxULongToPtr(p,n) (p=NULL,wxPtrToULong(p)=(unsigned long)(n),p)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Geometric flags
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user