From 414e0bbabb6ac7a5cff148b927ec874dff922be1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 2 Jan 2014 01:16:33 +0100 Subject: Fix glibc spinlock inclusion Using an i386 Implies would change inclusion order in the rest of libc too, entailing a lot of issues. We can simply make mach/i386 include i386 instead. * sysdeps/mach/i386/bits/spin-lock-inline.h: Include ../../../sysdeps/i386/bits/spin-lock-inline.h. * sysdeps/mach/i386/bits/spin-lock.h: Include ../../../sysdeps/i386/bits/spin-lock.h. --- sysdeps/mach/i386/bits/spin-lock-inline.h | 1 + sysdeps/mach/i386/bits/spin-lock.h | 1 + 2 files changed, 2 insertions(+) create mode 100644 sysdeps/mach/i386/bits/spin-lock-inline.h create mode 100644 sysdeps/mach/i386/bits/spin-lock.h (limited to 'sysdeps') diff --git a/sysdeps/mach/i386/bits/spin-lock-inline.h b/sysdeps/mach/i386/bits/spin-lock-inline.h new file mode 100644 index 0000000..79cf753 --- /dev/null +++ b/sysdeps/mach/i386/bits/spin-lock-inline.h @@ -0,0 +1 @@ +#include <../../../sysdeps/i386/bits/spin-lock-inline.h> diff --git a/sysdeps/mach/i386/bits/spin-lock.h b/sysdeps/mach/i386/bits/spin-lock.h new file mode 100644 index 0000000..ba73d15 --- /dev/null +++ b/sysdeps/mach/i386/bits/spin-lock.h @@ -0,0 +1 @@ +#include <../../../sysdeps/i386/bits/spin-lock.h> -- cgit v1.2.3