mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
ARM: fix pthread_attr_t definitions.
This commit is contained in:
parent
d735f8d4f0
commit
e7c0dc24ea
@ -1,3 +1,9 @@
|
||||
2012-02-27 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
|
||||
(pthread_attr_t): Change union tag to pthread_attr_t. Only define
|
||||
typedef if not already defined.
|
||||
|
||||
2012-02-26 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Name
|
||||
|
@ -38,11 +38,15 @@
|
||||
typedef unsigned long int pthread_t;
|
||||
|
||||
|
||||
typedef union __pthread_attr
|
||||
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