]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsunx.cpp
wxUSE_THREADS typo corrected
[wxWidgets.git] / src / unix / utilsunx.cpp
index e2696eee7b45697625cc4fa1057230149b2a1c07..f7b9b01140df45427f087beea0fab5b3c625ac64 100644 (file)
@@ -96,7 +96,7 @@ void wxUsleep(unsigned long milliseconds)
     // of Solaris has a safe usleep() function but please notice that usleep()
     // is known to lead to crashes in MT programs in Solaris 2.[67] and is not
     // documented as MT-Safe
-    #if defined(__SUN__) && defined(wxUSE_THREADS)
+    #if defined(__SUN__) && wxUSE_THREADS
         #error "usleep() cannot be used in MT programs under Solaris."
     #endif // Sun