From 14c736b89b658b60a2e575cc97669bd42949f969 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 14 Jul 2014 15:50:13 +0000 Subject: [PATCH] fixing commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index f89e132165..6c532e24f1 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1528,10 +1528,10 @@ typedef double wxDouble; #define wxINT64_SWAP_ON_LE(val) (val) #endif - wxUINT16_SWAP_ON_BE_IN_PLACE(val) val = wxUINT16_SWAP_ALWAYS(val) - wxUINT16_SWAP_ON_LE_IN_PLACE(val) - wxUINT32_SWAP_ON_BE_IN_PLACE(val) val = wxUINT32_SWAP_ALWAYS(val) - wxUINT32_SWAP_ON_LE_IN_PLACE(val) + #define wxUINT16_SWAP_ON_BE_IN_PLACE(val) val = wxUINT16_SWAP_ALWAYS(val) + #define wxUINT16_SWAP_ON_LE_IN_PLACE(val) + #define wxUINT32_SWAP_ON_BE_IN_PLACE(val) val = wxUINT32_SWAP_ALWAYS(val) + #define wxUINT32_SWAP_ON_LE_IN_PLACE(val) #else #define wxUINT16_SWAP_ON_LE(val) wxUINT16_SWAP_ALWAYS(val) #define wxINT16_SWAP_ON_LE(val) wxINT16_SWAP_ALWAYS(val) @@ -1548,10 +1548,10 @@ typedef double wxDouble; #define wxINT64_SWAP_ON_BE(val) (val) #endif - wxUINT16_SWAP_ON_BE_IN_PLACE(val) - wxUINT16_SWAP_ON_LE_IN_PLACE(val) val = wxUINT16_SWAP_ALWAYS(val) - wxUINT32_SWAP_ON_BE_IN_PLACE(val) - wxUINT32_SWAP_ON_LE_IN_PLACE(val) val = wxUINT32_SWAP_ALWAYS(val) + #define wxUINT16_SWAP_ON_BE_IN_PLACE(val) + #define wxUINT16_SWAP_ON_LE_IN_PLACE(val) val = wxUINT16_SWAP_ALWAYS(val) + #define wxUINT32_SWAP_ON_BE_IN_PLACE(val) + #define wxUINT32_SWAP_ON_LE_IN_PLACE(val) val = wxUINT32_SWAP_ALWAYS(val) #endif /* ---------------------------------------------------------------------------- */