]> git.saurik.com Git - wxWidgets.git/commitdiff
Add missing SWAP macros for 64-bit signed int
authorRobert Roebling <robert@roebling.de>
Fri, 20 Jun 2008 08:22:45 +0000 (08:22 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 20 Jun 2008 08:22:45 +0000 (08:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index d00af1463b2437b2788b5ac49b5dc7789a90e861..254401f612660a342e3a7d51568e98b9c20d30d9 100644 (file)
@@ -1405,6 +1405,8 @@ typedef double wxDouble;
     #if wxHAS_INT64
         #define wxUINT64_SWAP_ON_BE(val)  wxUINT64_SWAP_ALWAYS(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
 #else
     #define wxUINT16_SWAP_ON_LE(val)  wxUINT16_SWAP_ALWAYS(val)
@@ -1418,6 +1420,8 @@ typedef double wxDouble;
     #if wxHAS_INT64
         #define wxUINT64_SWAP_ON_LE(val)  wxUINT64_SWAP_ALWAYS(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