From d7b99b162f3f2ab05af10686e42131ee7c767d95 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Thu, 30 Oct 2008 10:32:10 +0000 Subject: [PATCH] fixed the error 'macro parameters must be comma-separated' reported by running gcc preprocessor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/defs.h | 24 ++++++++++++------------ interface/wx/filefn.h | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/interface/wx/defs.h b/interface/wx/defs.h index 36deb822ec..db398b84d3 100644 --- a/interface/wx/defs.h +++ b/interface/wx/defs.h @@ -190,10 +190,10 @@ enum wxPaperSize @header{wx/defs.h} */ -#define wxINT32_SWAP_ALWAYS( wxInt32 value ) -#define wxUINT32_SWAP_ALWAYS( wxUint32 value ) -#define wxINT16_SWAP_ALWAYS( wxInt16 value ) -#define wxUINT16_SWAP_ALWAYS( wxUint16 value ) +#define wxINT32_SWAP_ALWAYS( wxInt32_value ) +#define wxUINT32_SWAP_ALWAYS( wxUint32_value ) +#define wxINT16_SWAP_ALWAYS( wxInt16_value ) +#define wxUINT16_SWAP_ALWAYS( wxUint16_value ) //@} @@ -211,10 +211,10 @@ enum wxPaperSize @header{wx/defs.h} */ -#define wxINT32_SWAP_ON_BE( wxInt32 value ) -#define wxUINT32_SWAP_ON_BE( wxUint32 value ) -#define wxINT16_SWAP_ON_BE( wxInt16 value ) -#define wxUINT16_SWAP_ON_BE( wxUint16 value ) +#define wxINT32_SWAP_ON_BE( wxInt32_value ) +#define wxUINT32_SWAP_ON_BE( wxUint32_value ) +#define wxINT16_SWAP_ON_BE( wxInt16_value ) +#define wxUINT16_SWAP_ON_BE( wxUint16_value ) //@} @@ -232,10 +232,10 @@ enum wxPaperSize @header{wx/defs.h} */ -#define wxINT32_SWAP_ON_LE( wxInt32 value ) -#define wxUINT32_SWAP_ON_LE( wxUint32 value ) -#define wxINT16_SWAP_ON_LE( wxInt16 value ) -#define wxUINT16_SWAP_ON_LE( wxUint16 value ) +#define wxINT32_SWAP_ON_LE( wxInt32_value ) +#define wxUINT32_SWAP_ON_LE( wxUint32_value ) +#define wxINT16_SWAP_ON_LE( wxInt16_value ) +#define wxUINT16_SWAP_ON_LE( wxUint16_value ) //@} diff --git a/interface/wx/filefn.h b/interface/wx/filefn.h index 04b82d18ac..dc9bb6d47b 100644 --- a/interface/wx/filefn.h +++ b/interface/wx/filefn.h @@ -116,7 +116,7 @@ const int wxInvalidOffset = -1; @header{wx/filefn.h} */ -#define wxCHANGE_UMASK(int mask) +#define wxCHANGE_UMASK(mask) /** This function returns the total number of bytes and number of free bytes on