]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
Fixed a bug so wxLC_VRULES works by itself.
[wxWidgets.git] / src / unix / threadpsx.cpp
index 8207ca3576072ac0ac206f8a7575ed279aefcc6b..8cebd7d21267c529c62e46ed8820fc8ced40dcbb 100644 (file)
@@ -865,7 +865,7 @@ void wxThread::Sleep(unsigned long milliseconds)
 
 int wxThread::GetCPUCount()
 {
-#if defined(__LINUX__)
+#if defined(__LINUX__) && wxUSE_FFILE
     // read from proc (can't use wxTextFile here because it's a special file:
     // it has 0 size but still can be read from)
     wxLogNull nolog;