projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed133a0
)
Unbreak the MS-Windows build
author
Eli Zaretskii
<eliz@gnu.org>
Tue, 9 Jul 2019 15:04:29 +0000
(18:04 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Tue, 9 Jul 2019 15:04:29 +0000
(18:04 +0300)
* src/font.c (open): Don't undef on WINDOWSNT, as ms-w32.h
redirects it to sys_open.
src/font.c
patch
|
blob
|
history
diff --git
a/src/font.c
b/src/font.c
index 457f3f9958310812684851759d73c8da6462246a..ffd506449304903add3ee33e0391ad074a84df9d 100644
(file)
--- a/
src/font.c
+++ b/
src/font.c
@@
-46,7
+46,9
@@
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
/* Avoid macro definition of `open' in generated lib/fcntl.h to mess up
use of it as a struct member. */
+#ifndef WINDOWSNT
#undef open
+#endif
#define DEFAULT_ENCODING Qiso8859_1