aboutsummaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 02:49:44 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 02:53:09 +0100
commita726c87a149869b51f1c050014d320ff15df81bb (patch)
tree73c3817d99f5cb786cb9eb7e9d1e7c9208c4eebf /mach
parenthurd: Avoid using ino64_t and loff_t in headers (diff)
downloadglibc-a726c87a149869b51f1c050014d320ff15df81bb.tar.gz
glibc-a726c87a149869b51f1c050014d320ff15df81bb.tar.bz2
glibc-a726c87a149869b51f1c050014d320ff15df81bb.zip
hurd: Fix inclusion of mach headers in all standards
mig_support does not actually inline the stpncpy any more. * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out. * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach headers.
Diffstat (limited to 'mach')
-rw-r--r--mach/mach/mig_support.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/mach/mach/mig_support.h b/mach/mach/mig_support.h
index 56ec6dfab8..fc17062b6a 100644
--- a/mach/mach/mig_support.h
+++ b/mach/mach/mig_support.h
@@ -26,19 +26,6 @@
#include <sys/types.h>
#include <string.h>
-#ifndef __USE_GNU
-/* The only problem that has come up so far is __stpncpy being undeclared
- below because <string.h> doesn't declare it without __USE_GNU. We could
- work around that problem by just adding the declaration there, or by
- eliding the inline functions in the absence of __USE_GNU. But either of
- these would result in unoptimized calls (because no inline version of
- __stpncpy will have been defined), and there may be other niggling
- problems lurking. Instead we simply insist on _GNU_SOURCE for
- compiling mig output; anyway, that better reflects the fact that mig
- output requires nonstandard special support code not found elsewhere. */
-# error mig stubs must be compiled with -D_GNU_SOURCE
-#endif
-
/* MiG initialization. */
extern void __mig_init (void *__first);
extern void mig_init (void *__first);