]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/testprec.h
Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel interna...
[wxWidgets.git] / tests / testprec.h
index 776407794f53142a88f1e9f91fee15317511ddb3..b1799321f149dc6deea2d9114962c5862eb84d61 100644 (file)
@@ -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