mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 04:50:07 +00:00
m68k: only define pthread_attr_t if not already defined
This commit is contained in:
parent
bf8becc54b
commit
175763ab68
@ -1,7 +1,8 @@
|
||||
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>
|
||||
|
||||
|
@ -38,11 +38,15 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user