diff options
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h b/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h index e1b115c8c..bb186aec0 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h +++ b/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +/* Copyright (C) 2002-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -38,11 +38,15 @@ typedef unsigned long int pthread_t; -typedef union +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 |