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
+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.
#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