projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95dce77
)
Repair macOS build
author
Mattias Engdegård
<mattiase@acm.org>
Tue, 9 Jul 2019 11:38:10 +0000
(13:38 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Tue, 9 Jul 2019 11:38:10 +0000
(13:38 +0200)
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
patch
|
blob
|
history
diff --git
a/src/font.c
b/src/font.c
index b4a85a1ca5a31297eccf112a032e038caf5f218b..457f3f9958310812684851759d73c8da6462246a 100644
(file)
--- 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. */