Rev 5199 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5199 | Rev 6324 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* sysdep.h -- handle host dependencies for the BFD library |
1 | /* sysdep.h -- handle host dependencies for the BFD library |
2 | Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2005, 2007, 2009 |
- | |
3 | Free Software Foundation, Inc. |
2 | Copyright (C) 1995-2015 Free Software Foundation, Inc. |
4 | Written by Cygnus Support. |
3 | Written by Cygnus Support. |
Line 5... | Line 4... | ||
5 | 4 | ||
Line 6... | Line 5... | ||
6 | This file is part of BFD, the Binary File Descriptor library. |
5 | This file is part of BFD, the Binary File Descriptor library. |
Line 25... | Line 24... | ||
25 | 24 | ||
26 | #ifdef PACKAGE |
25 | #ifdef PACKAGE |
27 | #error sysdep.h must be included in lieu of config.h |
26 | #error sysdep.h must be included in lieu of config.h |
Line 28... | Line -... | ||
28 | #endif |
- | |
29 | - | ||
30 | #include |
27 | #endif |
Line 31... | Line 28... | ||
31 | 28 | ||
Line 32... | Line 29... | ||
32 | #include "config.h" |
29 | #include "config.h" |
33 | 30 | ||
34 | #include "ansidecl.h" |
31 | #include "ansidecl.h" |
Line -... | Line 32... | ||
- | 32 | ||
- | 33 | #ifdef HAVE_STDDEF_H |
|
35 | 34 | #include |
|
36 | #ifdef HAVE_STDDEF_H |
35 | #endif |
37 | #include |
36 | |
Line 38... | Line 37... | ||
38 | #endif |
37 | #include |
Line 171... | Line 170... | ||
171 | #if !HAVE_DECL_FSEEKO64 |
170 | #if !HAVE_DECL_FSEEKO64 |
172 | extern int fseeko64 (FILE *stream, off64_t offset, int whence); |
171 | extern int fseeko64 (FILE *stream, off64_t offset, int whence); |
173 | #endif |
172 | #endif |
174 | #endif |
173 | #endif |
Line -... | Line 174... | ||
- | 174 | ||
- | 175 | #if !HAVE_DECL_STRNLEN |
|
- | 176 | size_t strnlen (const char *, size_t); |
|
- | 177 | #endif |
|
175 | 178 | ||
Line 176... | Line 179... | ||
176 | /* Define offsetof for those systems which lack it */ |
179 | /* Define offsetof for those systems which lack it */ |
177 | 180 | ||
178 | #ifndef offsetof |
181 | #ifndef offsetof |