| OLD | NEW |
| 1 /* sysdep.h -- handle host dependencies for the GNU linker | 1 /* sysdep.h -- handle host dependencies for the GNU linker |
| 2 Copyright 1995, 1996, 1997, 1999, 2002, 2003, 2005, 2007 | 2 Copyright 1995, 1996, 1997, 1999, 2002, 2003, 2005, 2007 |
| 3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This file is part of the GNU Binutils. | 5 This file is part of the GNU Binutils. |
| 6 | 6 |
| 7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
| 8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
| 9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 10 (at your option) any later version. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 #ifdef HAVE_FCNTL_H | 85 #ifdef HAVE_FCNTL_H |
| 86 #include <fcntl.h> | 86 #include <fcntl.h> |
| 87 #else | 87 #else |
| 88 #ifdef HAVE_SYS_FILE_H | 88 #ifdef HAVE_SYS_FILE_H |
| 89 #include <sys/file.h> | 89 #include <sys/file.h> |
| 90 #endif | 90 #endif |
| 91 #endif | 91 #endif |
| 92 | 92 |
| 93 #ifdef HAVE_DLFCN_H | 93 #ifdef HAVE_DLFCN_H |
| 94 #include <dlfcn.h> | 94 #include <dlwrap.h> // @LOCALMOD |
| 95 #endif | 95 #endif |
| 96 | 96 |
| 97 #ifndef O_RDONLY | 97 #ifndef O_RDONLY |
| 98 #define O_RDONLY 0 | 98 #define O_RDONLY 0 |
| 99 #endif | 99 #endif |
| 100 #ifndef O_WRONLY | 100 #ifndef O_WRONLY |
| 101 #define O_WRONLY 1 | 101 #define O_WRONLY 1 |
| 102 #endif | 102 #endif |
| 103 #ifndef O_RDWR | 103 #ifndef O_RDWR |
| 104 #define O_RDWR 2 | 104 #define O_RDWR 2 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 131 | 131 |
| 132 #if !HAVE_DECL_GETENV | 132 #if !HAVE_DECL_GETENV |
| 133 extern char *getenv (); | 133 extern char *getenv (); |
| 134 #endif | 134 #endif |
| 135 | 135 |
| 136 #if !HAVE_DECL_ENVIRON | 136 #if !HAVE_DECL_ENVIRON |
| 137 extern char **environ; | 137 extern char **environ; |
| 138 #endif | 138 #endif |
| 139 | 139 |
| 140 #endif /* ! defined (LD_SYSDEP_H) */ | 140 #endif /* ! defined (LD_SYSDEP_H) */ |
| OLD | NEW |