* gthr-dce.h: If _DCE_THREADS is not defined, then just include
gthr-single.
From-SVN: r47490
+Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
+
+ * gthr-dce.h: If _DCE_THREADS is not defined, then just include
+ gthr-single.
+
2001-11-30 Jason Merrill <jason@redhat.com>
* dwarf2out.c (is_cxx): New fn.
#ifndef GCC_GTHR_DCE_H
#define GCC_GTHR_DCE_H
+/* If _DCE_THREADS is not defined, then we're building the single
+ threaded version of the libraries and do not want to reference
+ anything related to pthreads or dce. */
+#ifndef _DCE_THREADS
+#include "gthr-single.h"
+#else
/* DCE threads interface.
DCE threads are based on POSIX threads draft 4, and many things
have changed since then. */
#undef UNUSED
+#endif
#endif /* ! GCC_GTHR_DCE_H */