wxUSE_THREADS typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -96,7 +96,7 @@ void wxUsleep(unsigned long milliseconds)
|
|||||||
// of Solaris has a safe usleep() function but please notice that usleep()
|
// 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
|
// is known to lead to crashes in MT programs in Solaris 2.[67] and is not
|
||||||
// documented as MT-Safe
|
// 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."
|
#error "usleep() cannot be used in MT programs under Solaris."
|
||||||
#endif // Sun
|
#endif // Sun
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user