2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
- (pthread_attr_t): Fix name of union.
+ (pthread_attr_t): Fix name of union. Only define if not already
+ defined.
2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
typedef unsigned long int pthread_t;
-typedef union pthread_attr_t
+union pthread_attr_t
{
char __size[__SIZEOF_PTHREAD_ATTR_T];
long int __align;
-} pthread_attr_t;
+};
+#ifndef __have_pthread_attr_t
+typedef union pthread_attr_t pthread_attr_t;
+# define __have_pthread_attr_t 1
+#endif
typedef struct __pthread_internal_slist