From: Eli Zaretskii Date: Tue, 9 Jul 2019 15:04:29 +0000 (+0300) Subject: Unbreak the MS-Windows build X-Git-Tag: emacs-27.0.90~2034^2~20 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=93bd422ecec2519c5f3d0df73c0ac9cc7b18442b;p=emacs.git Unbreak the MS-Windows build * src/font.c (open): Don't undef on WINDOWSNT, as ms-w32.h redirects it to sys_open. --- diff --git a/src/font.c b/src/font.c index 457f3f99583..ffd50644930 100644 --- a/src/font.c +++ b/src/font.c @@ -46,7 +46,9 @@ along with GNU Emacs. If not, see . */ /* 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