aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-14 23:25:01 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-14 23:30:17 -0400
commit757b3c2fea905abfd487dd159c7e0550169ed966 (patch)
treed1a5472f34798307e0c70420eb1b63b334444418 /sim/erc32/ChangeLog
parent4df5cdbd3afc33e8c0a0d18542899f3f88d2f22f (diff)
downloadfsf-binutils-gdb-757b3c2fea905abfd487dd159c7e0550169ed966.zip
fsf-binutils-gdb-757b3c2fea905abfd487dd159c7e0550169ed966.tar.gz
fsf-binutils-gdb-757b3c2fea905abfd487dd159c7e0550169ed966.tar.bz2
sim: erc32: fix build w/out F_{G,S}ETFL
Add conditional logic around fcntl.h F_{G,S}ETFL usage to fix builds on systems that don't have it (e.g. Windows). The code is only used to save & restore limited terminal stdin state.
Diffstat (limited to 'sim/erc32/ChangeLog')
-rw-r--r--sim/erc32/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index a5035d0..0a82427 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,5 +1,11 @@
2021-06-14 Mike Frysinger <vapier@gentoo.org>
+ * interf.c (sim_open) [F_GETFL]: Only set termsave.
+ (sim_close) [F_SETFL]: Only call fcntl.
+ * sis.c (main) [F_GETFL]: Only set termsave.
+
+2021-06-14 Mike Frysinger <vapier@gentoo.org>
+
* erc32.c [HAVE_TERMIOS_H]: Include termios.h and declare ioc1,
ioc2, iocold1, & iocold2.
(init_stdio) [HAVE_TERMIOS_H]: Only call tcsetattr.