X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8899b155a1e4fa5f4b90e1f3bebe28088ea46bc9..e57ee9bb0cd5d0e49a60b36b2ca31af01dbde454:/tests/testprec.h diff --git a/tests/testprec.h b/tests/testprec.h index 776407794f..b1799321f1 100644 --- a/tests/testprec.h +++ b/tests/testprec.h @@ -1,3 +1,8 @@ - #include "wx/wxprec.h" #include "wx/cppunit.h" + +// define wxHAVE_U_ESCAPE if the compiler supports \uxxxx character constants +#if (defined(__VISUALC__) && (__VISUALC__ >= 1300)) || \ + (defined(__GNUC__) && (__GNUC__ >= 3)) + #define wxHAVE_U_ESCAPE +#endif