diff options
Diffstat (limited to 'libc/sysdeps/unix/sysv/linux/i386/sys/elf.h')
-rw-r--r-- | libc/sysdeps/unix/sysv/linux/i386/sys/elf.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libc/sysdeps/unix/sysv/linux/i386/sys/elf.h b/libc/sysdeps/unix/sysv/linux/i386/sys/elf.h index 9d64e9768..1f4524cba 100644 --- a/libc/sysdeps/unix/sysv/linux/i386/sys/elf.h +++ b/libc/sysdeps/unix/sysv/linux/i386/sys/elf.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1998-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 @@ -18,8 +18,12 @@ #ifndef _SYS_ELF_H #define _SYS_ELF_H 1 -#warning "This header is obsolete; use <sys/procfs.h> instead." +#ifdef __x86_64__ +# error This header is unsupported on x86-64. +#else +# warning "This header is obsolete; use <sys/procfs.h> instead." -#include <sys/procfs.h> +# include <sys/procfs.h> +#endif #endif /* _SYS_ELF_H */ |