]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/regconf.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / msw / regconf.cpp
index 4d5388cf4cfe49f0e85313051f6a5c0a707258a4..363987830b781998034fb8baf9d8c0e4e1088e53 100644 (file)
@@ -16,7 +16,7 @@
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
-#if wxUSE_CONFIG
+#if wxUSE_CONFIG && wxUSE_REGKEY
 
 #include "wx/config.h"
 
 
 #include "wx/config.h"
 
@@ -780,4 +780,4 @@ bool wxRegConfig::DeleteAll()
   return bOk;
 }
 
   return bOk;
 }
 
-#endif // wxUSE_CONFIG
+#endif // wxUSE_CONFIG && wxUSE_REGKEY