aboutsummaryrefslogtreecommitdiffstats
path: root/lib/binary-io.h
diff options
context:
space:
mode:
authorPaul Eggert2020-08-12 11:37:52 -0700
committerPaul Eggert2020-08-12 11:45:55 -0700
commite697ca152570d59f9b591fc2003292c30d4be050 (patch)
tree8cbdaf6e917d0bf5f04d97c56ae650ab05bc0a6c /lib/binary-io.h
parent9102ecc63b094ffebae2215adc4a840a8b66f6d8 (diff)
downloademacs-e697ca152570d59f9b591fc2003292c30d4be050.tar.gz
emacs-e697ca152570d59f9b591fc2003292c30d4be050.zip
Update from Gnulib
This incorporates: 2020-08-12 stdint: port intptr_t to more-recent MinGW 2020-08-11 Use __restrict also on clang 2020-08-11 Use flexible array syntax also on clang 2020-08-11 fcntl: On native Windows, use _setmode, not setmode * lib/binary-io.h, lib/cdefs.h, lib/fcntl.c, lib/regex.h: * lib/stdint.in.h: Copy from Gnulib.
Diffstat (limited to 'lib/binary-io.h')
-rw-r--r--lib/binary-io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/binary-io.h b/lib/binary-io.h
index 477b4bf4dd3..d17af7c3807 100644
--- a/lib/binary-io.h
+++ b/lib/binary-io.h
@@ -56,7 +56,7 @@ __gl_setmode (int fd _GL_UNUSED, int mode _GL_UNUSED)
56/* Set FD's mode to MODE, which should be either O_TEXT or O_BINARY. 56/* Set FD's mode to MODE, which should be either O_TEXT or O_BINARY.
57 Return the old mode if successful, -1 (setting errno) on failure. 57 Return the old mode if successful, -1 (setting errno) on failure.
58 Ordinarily this function would be called 'setmode', since that is 58 Ordinarily this function would be called 'setmode', since that is
59 its name on MS-Windows, but it is called 'set_binary_mode' here 59 its old name on MS-Windows, but it is called 'set_binary_mode' here
60 to avoid colliding with a BSD function of another name. */ 60 to avoid colliding with a BSD function of another name. */
61 61
62#if defined __DJGPP__ || defined __EMX__ 62#if defined __DJGPP__ || defined __EMX__