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:
Eli Zaretskii 2018-07-19 08:47:34 +00:00 committed by Richard Biener
parent 6e559c70b7
commit 30ae666240
2 changed files with 9 additions and 0 deletions

View File

@ -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> 2018-05-30 Jan Hubicka <hubicka@ucw.cz>
* simple-object.c (handle_lto_debug_sections): Add rename parameter. * simple-object.c (handle_lto_debug_sections): Add rename parameter.

View File

@ -22,6 +22,10 @@ Boston, MA 02110-1301, USA. */
#include "simple-object.h" #include "simple-object.h"
#include <errno.h> #include <errno.h>
/* mingw.org's MinGW doesn't have ENOTSUP. */
#ifndef ENOTSUP
# define ENOTSUP ENOSYS
#endif
#include <stddef.h> #include <stddef.h>
#ifdef HAVE_STDLIB_H #ifdef HAVE_STDLIB_H