]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/variant.cpp
fix for always terminating intermediate UniChar String for 4 bytes wchar_t
[wxWidgets.git] / src / common / variant.cpp
index 85ea9a980511643211ad63a5727aff54ac9799e6..a697e7557745eab7775ff9f27db02493858826fc 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "variant.h"
 #endif