diff options
| author | Eli Zaretskii | 2019-07-09 18:04:29 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-07-09 18:04:29 +0300 |
| commit | 93bd422ecec2519c5f3d0df73c0ac9cc7b18442b (patch) | |
| tree | 0eea781c4149418cdfb06229579efee84e0c7a1a /src | |
| parent | ed133a09706a68b311e090843049fdb93a883866 (diff) | |
| download | emacs-93bd422ecec2519c5f3d0df73c0ac9cc7b18442b.tar.gz emacs-93bd422ecec2519c5f3d0df73c0ac9cc7b18442b.zip | |
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')
| -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/>. */ | |||
| 46 | 46 | ||
| 47 | /* Avoid macro definition of `open' in generated lib/fcntl.h to mess up | 47 | /* Avoid macro definition of `open' in generated lib/fcntl.h to mess up |
| 48 | use of it as a struct member. */ | 48 | use of it as a struct member. */ |
| 49 | #ifndef WINDOWSNT | ||
| 49 | #undef open | 50 | #undef open |
| 51 | #endif | ||
| 50 | 52 | ||
| 51 | #define DEFAULT_ENCODING Qiso8859_1 | 53 | #define DEFAULT_ENCODING Qiso8859_1 |
| 52 | 54 | ||