[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master fdea0e6: Repair macOS build
From: |
Mattias Engdegård |
Subject: |
[Emacs-diffs] master fdea0e6: Repair macOS build |
Date: |
Tue, 9 Jul 2019 07:38:39 -0400 (EDT) |
branch: master
commit fdea0e602b4ec013736aff5615db0777ed89b187
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
Repair macOS build
Avoid macro redefinition of `open' in lib/fcntl.h to break use of it as
a struct member in src/font.c.
* src/font.c: #undef open
---
src/font.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/font.c b/src/font.c
index b4a85a1..457f3f9 100644
--- a/src/font.c
+++ b/src/font.c
@@ -44,6 +44,10 @@ along with GNU Emacs. If not, see
<https://www.gnu.org/licenses/>. */
#include TERM_HEADER
#endif /* HAVE_WINDOW_SYSTEM */
+/* Avoid macro definition of `open' in generated lib/fcntl.h to mess up
+ use of it as a struct member. */
+#undef open
+
#define DEFAULT_ENCODING Qiso8859_1
/* Vector of Vfont_weight_table, Vfont_slant_table, and Vfont_width_table. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master fdea0e6: Repair macOS build,
Mattias Engdegård <=