mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-14 17:59:28 +08:00
8266e478d6
* libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros to handle latest on_exit change. * libc/sys/linux/Makefile.am: Remove special compilation for malloc.c and mcheck.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/mntent.c: Add definition of _LIBC flag after including <features.h>. * libc/sys/linux/mcheck.c: Ditto. * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE for <features.h>. * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and add -DNOT_IN_libc to C flags. * libc/sys/linux/intl/Makefile.in: Regenerated. * libc/sys/linux/intl/config.h: Add definition of _LIBC. * libc/sys/linux/linuxthreads/semaphore.h: Include <bits/pthreadtypes.h>. * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after including <features.h>. * libc/sys/linux/sys/lock.h: Ditto.
30 lines
853 B
C
30 lines
853 B
C
#define HAVE_ICONV 1
|
|
#define HAVE_STRING_H 1
|
|
#define HAVE_MEMPCPY 1
|
|
#define HAVE_STRCHR 1
|
|
#define HAVE_STRDUP 1
|
|
#define HAVE_MMAP 1
|
|
#define HAVE_STRTOUL 1
|
|
#define HAVE_ALLOCA_H 1
|
|
#define HAVE_MALLOC_H 1
|
|
#define HAVE_STRCASECMP 1
|
|
#define HAVE_WEAK_SYMBOLS 1
|
|
#define HAVE_GNU_LD 1
|
|
#define HAVE_ELF 1
|
|
#define __ASSUME_REALTIME_SIGNALS 1
|
|
#define ASM_GLOBAL_DIRECTIVE .global
|
|
|
|
#define TEMP_FAILURE_RETRY(expression) \
|
|
(__extension__ \
|
|
({ long int __result; \
|
|
do __result = (long int) (expression); \
|
|
while (__result == -1L && errno == EINTR); \
|
|
__result; }))
|
|
|
|
#define UINT32_C(c) c ## U
|
|
|
|
#include <machine/sysdep.h>
|
|
#include <features.h>
|
|
|
|
#define _LIBC 1
|