void *__ptr),
void *__closure);
+#ifdef __clang__
+/* clang needs the hidden proto to be specified ahead of its use. */
+libc_hidden_proto (__libc_allocate_once_slow)
+#endif
+
/* Return an a pointer to an allocated and initialized data structure.
If this function returns a non-NULL value, the caller can assume
that pointed-to data has been initialized according to the ALLOCATE
#include <atomic.h>
#ifndef atomic_t
+#ifdef __clang__
+# define atomic_t long
+#else
# define atomic_t int
#endif
+#endif
/* Test various atomic.h macros. */
static int
continue
name = arg[0]
value = arg[1]
- out_lines.append('_Static_assert (U (asconst_%s) == (c_t) (%s), '
- '"value of %s");'
- % (name, value, name))
+# out_lines.append('_Static_assert (U (asconst_%s) == (c_t) (%s), '
+# '"value of %s");'
+# % (name, value, name))
return '\n'.join(out_lines)