diff options
| author | Andreas Jaeger <aj@suse.de> | 2005-03-28 09:32:27 +0000 |
|---|---|---|
| committer | Andreas Jaeger <aj@suse.de> | 2005-03-28 09:32:27 +0000 |
| commit | e9eb4f57796c7031bb4398e7321a7f2f56dc7b79 (patch) | |
| tree | 22e7463d1760dc8d926bc160a7ef569c8fe0df4d | |
| parent | 305fae3b1977fcffb72b9b2a18c9830bb36dabfd (diff) | |
| download | glibc-e9eb4f57796c7031bb4398e7321a7f2f56dc7b79.tar.xz glibc-e9eb4f57796c7031bb4398e7321a7f2f56dc7b79.zip | |
Protect against multiple inclusion.
| -rw-r--r-- | sysdeps/mips/bits/setjmp.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/mips/bits/setjmp.h b/sysdeps/mips/bits/setjmp.h index ec0aaa020d..2b42b22ba4 100644 --- a/sysdeps/mips/bits/setjmp.h +++ b/sysdeps/mips/bits/setjmp.h @@ -1,5 +1,5 @@ /* Define the machine-dependent type `jmp_buf'. MIPS version. - Copyright (C) 1992, 1993, 1995, 1997, 2000, 2002, 2003, 2004 + Copyright (C) 1992, 1993, 1995, 1997, 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -18,7 +18,10 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifndef _SETJMP_H +#ifndef _MIPS_BITS_SETJMP_H +#define _MIPS_BITS_SETJMP_H 1 + +#if !defined(_SETJMP_H) && !defined(_PTHREAD_H) # error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead." #endif @@ -79,3 +82,5 @@ typedef struct containing a local variable at ADDRESS. */ #define _JMPBUF_UNWINDS(jmpbuf, address) \ ((void *) (address) < (jmpbuf)[0].__sp) + +#endif /* _MIPS_BITS_SETJMP_H */ |
