mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Fix GDB build using mingw.org's MinGW
libiberty/ 2018-07-18 Eli Zaretskii <eliz@gnu.org> PR gdb/23434 * libiberty/simple-object-elf.c (ENOTSUP): If not defined by errno.h, redirect ENOTSUP to ENOSYS.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user