X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0210f373970006aa8cdb549b1150af3c20388a43..23ee4b4874aa32111eca609bfe4c9e62e6ca5a6a:/include/wx/version.h diff --git a/include/wx/version.h b/include/wx/version.h index fde4663180..be6eadca3c 100644 --- a/include/wx/version.h +++ b/include/wx/version.h @@ -29,8 +29,11 @@ /* ---------------------------------------------------------------------------- */ /* helpers for wxVERSION_NUM_XXX */ -#define wxMAKE_VERSION_STRING(x, y, z) #x #y #z -#define wxMAKE_VERSION_DOT_STRING(x, y, z) #x "." #y "." #z +#define wxSTRINGIZE(x) #x +#define wxMAKE_VERSION_STRING(x, y, z) \ + wxSTRINGIZE(x) wxSTRINGIZE(y) wxSTRINGIZE(z) +#define wxMAKE_VERSION_DOT_STRING(x, y, z) \ + wxSTRINGIZE(x) "." wxSTRINGIZE(y) "." wxSTRINGIZE(z) /* these are used by src/msw/version.rc and should always be ASCII, not Unicode */ #define wxVERSION_NUM_STRING \