X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6ebdba66cc0c9ac45690d9019be76622f73ce64..6b30ffedb18b86329fdc41ac1be27bc85bd758ff:/include/wx/cpp.h diff --git a/include/wx/cpp.h b/include/wx/cpp.h index e1267b0325..eb012f5308 100644 --- a/include/wx/cpp.h +++ b/include/wx/cpp.h @@ -28,6 +28,16 @@ /* a Unicode-friendly version of wxSTRINGIZE_T */ #define wxSTRINGIZE_T(x) wxAPPLY_T(wxSTRINGIZE(x)) +/* + Special workarounds for compilers with broken "##" operator. For all the + other ones we can just use it directly. + */ +#ifdef wxCOMPILER_BROKEN_CONCAT_OPER + #define wxPREPEND_L(x) L ## x + #define wxAPPEND_i64(x) x ## i64 + #define wxAPPEND_ui64(x) x ## ui64 +#endif /* wxCOMPILER_BROKEN_CONCAT_OPER */ + /* Helper macros for wxMAKE_UNIQUE_NAME: normally this works by appending the current line number to the given identifier to reduce the probability of the