X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd362275b853cc0308bbde6a60bb2525d659f709..44c8e75ba92de8f003f193f1e80b374b3402419d:/include/wx/config.h?ds=sidebyside

diff --git a/include/wx/config.h b/include/wx/config.h
index 282e3960ff..54e821d918 100644
--- a/include/wx/config.h
+++ b/include/wx/config.h
@@ -22,7 +22,7 @@
 
 // under Windows we prefer to use the native implementation but can be forced
 // to use the file-based one
-#if defined(__WXMSW__) && wxUSE_CONFIG_NATIVE
+#if defined(__WINDOWS__) && wxUSE_CONFIG_NATIVE
     #include "wx/msw/regconf.h"
     #define wxConfig  wxRegConfig
 #elif defined(__WXOS2__) && wxUSE_CONFIG_NATIVE