mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 10:54:07 +08:00
simple-object-elf.c (ENOTSUP): If not defined by errno.h, redirect to ENOSYS.
2018-07-19 Eli Zaretskii <eliz@gnu.org> * simple-object-elf.c (ENOTSUP): If not defined by errno.h, redirect to ENOSYS. From-SVN: r262872
This commit is contained in:
parent
6e559c70b7
commit
30ae666240
@ -1,3 +1,8 @@
|
||||
2018-07-19 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* simple-object-elf.c (ENOTSUP): If not defined by errno.h, redirect
|
||||
to ENOSYS.
|
||||
|
||||
2018-05-30 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* simple-object.c (handle_lto_debug_sections): Add rename parameter.
|
||||
|
@ -22,6 +22,10 @@ Boston, MA 02110-1301, USA. */
|
||||
#include "simple-object.h"
|
||||
|
||||
#include <errno.h>
|
||||
/* mingw.org's MinGW doesn't have ENOTSUP. */
|
||||
#ifndef ENOTSUP
|
||||
# define ENOTSUP ENOSYS
|
||||
#endif
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
|
Loading…
Reference in New Issue
Block a user