OSDN Git Service

* stor-layout.c (layout_decl): Use unshare_expr, not unsave_expr.
[pf3gnuchains/gcc-fork.git] / gcc / gthr-posix.c
index 56bbad2..c74f3ce 100644 (file)
@@ -1,6 +1,6 @@
 /* POSIX threads dummy routines for systems without weak definitions.  */
 /* Compile this one with gcc.  */
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -147,7 +147,7 @@ pthread_self (void)
 {
   return (pthread_t) 0;
 }
-
+#ifdef _POSIX_PRIORITY_SCHEDULING
 #ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
 int
 sched_get_priority_max (int policy ATTRIBUTE_UNUSED)
@@ -161,6 +161,7 @@ sched_get_priority_min (int policy ATTRIBUTE_UNUSED)
   return 0;
 }
 #endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */
+#endif /* _POSIX_PRIORITY_SCHEDULING */
 
 int
 sched_yield (void)