]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/buffer.h
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / include / wx / buffer.h
index bfaba4e58d3679383cd3888b0fb15cb64dc347bb..81a445afe57bbc98a9c03039efdc37075691eeeb 100644 (file)
@@ -228,9 +228,9 @@ typedef wxWritableCharTypeBuffer<wchar_t> wxWritableWCharBuffer;
 
 // type of the value returned by wxString::utf8_str()
 #if wxUSE_UNICODE_UTF8
-    #define wxUTF8Buf wxCharBuffer
-#else
     #define wxUTF8Buf char *
+#else
+    #define wxUTF8Buf wxCharBuffer
 #endif
 
 // ----------------------------------------------------------------------------