diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-07-09 18:04:29 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-07-09 18:04:29 +0300 |
commit | 93bd422ecec2519c5f3d0df73c0ac9cc7b18442b (patch) | |
tree | 0eea781c4149418cdfb06229579efee84e0c7a1a /src/font.c | |
parent | ed133a09706a68b311e090843049fdb93a883866 (diff) | |
download | emacs-93bd422ecec2519c5f3d0df73c0ac9cc7b18442b.tar.gz |
Unbreak the MS-Windows build
* src/font.c (open): Don't undef on WINDOWSNT, as ms-w32.h
redirects it to sys_open.
Diffstat (limited to 'src/font.c')
-rw-r--r-- | src/font.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <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 |