Add missing SWAP macros for 64-bit signed int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1405,6 +1405,8 @@ typedef double wxDouble;
|
|||||||
#if wxHAS_INT64
|
#if wxHAS_INT64
|
||||||
#define wxUINT64_SWAP_ON_BE(val) wxUINT64_SWAP_ALWAYS(val)
|
#define wxUINT64_SWAP_ON_BE(val) wxUINT64_SWAP_ALWAYS(val)
|
||||||
#define wxUINT64_SWAP_ON_LE(val) (val)
|
#define wxUINT64_SWAP_ON_LE(val) (val)
|
||||||
|
#define wxINT64_SWAP_ON_BE(val) wxINT64_SWAP_ALWAYS(val)
|
||||||
|
#define wxINT64_SWAP_ON_LE(val) (val)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define wxUINT16_SWAP_ON_LE(val) wxUINT16_SWAP_ALWAYS(val)
|
#define wxUINT16_SWAP_ON_LE(val) wxUINT16_SWAP_ALWAYS(val)
|
||||||
@@ -1418,6 +1420,8 @@ typedef double wxDouble;
|
|||||||
#if wxHAS_INT64
|
#if wxHAS_INT64
|
||||||
#define wxUINT64_SWAP_ON_LE(val) wxUINT64_SWAP_ALWAYS(val)
|
#define wxUINT64_SWAP_ON_LE(val) wxUINT64_SWAP_ALWAYS(val)
|
||||||
#define wxUINT64_SWAP_ON_BE(val) (val)
|
#define wxUINT64_SWAP_ON_BE(val) (val)
|
||||||
|
#define wxINT64_SWAP_ON_LE(val) wxINT64_SWAP_ALWAYS(val)
|
||||||
|
#define wxINT64_SWAP_ON_BE(val) (val)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user