[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 93bd422: Unbreak the MS-Windows build
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 93bd422: Unbreak the MS-Windows build |
Date: |
Tue, 9 Jul 2019 11:05:40 -0400 (EDT) |
branch: master
commit 93bd422ecec2519c5f3d0df73c0ac9cc7b18442b
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Unbreak the MS-Windows build
* src/font.c (open): Don't undef on WINDOWSNT, as ms-w32.h
redirects it to sys_open.
---
src/font.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/font.c b/src/font.c
index 457f3f9..ffd5064 100644
--- 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 93bd422: Unbreak the MS-Windows build,
Eli Zaretskii <=