diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/sys/elf.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sys/elf.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sys/elf.h b/sysdeps/unix/sysv/linux/i386/sys/elf.h index 9d64e97688..1f4524cba4 100644 --- a/sysdeps/unix/sysv/linux/i386/sys/elf.h +++ b/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 */ |