Browse Source

oops, compile when not HAVE_THREADS

David Rose 18 years ago
parent
commit
1f99794cdb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pipeline/thread.cxx

+ 1 - 1
panda/src/pipeline/thread.cxx

@@ -124,7 +124,7 @@ output(ostream &out) const {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 void Thread::
 void Thread::
 write_status(ostream &out) {
 write_status(ostream &out) {
-#ifdef SIMPLE_THREADS
+#if defined(HAVE_THREADS) && defined(SIMPLE_THREADS)
   ThreadImpl::write_status(out);
   ThreadImpl::write_status(out);
 #endif
 #endif
 }
 }