Mercurial > emacs
comparison src/ChangeLog @ 96348:ecd6143014da
Remove unneeded -Defines in the compiler command line (MinGW and MSVC).
* nt/nmake.defs:
* nt/gmake.defs (FONT_CFLAGS): Remove.
(EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
(CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
and _CRTAPI1.
(ARCH_FLAGS): Don't include _X86_.
* nt/config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
* src/makefile.w32-in (LOCAL_FLAGS):
Don't include WINDOWSNT, DOS_NT and _UCHAR_T.
* src/sysdep.c (_spawnlp, _getpid):
Declare with explicit _cdecl instead of _CRTAPI1.
* src/editfns.c (Fget_internal_run_time):
Check for WINDOWSNT with #ifdef, not #if.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 26 Jun 2008 22:33:33 +0000 |
parents | 5c8f2b7d28ae |
children | 1163f7459d65 |
comparison
equal
deleted
inserted
replaced
96347:69b4ce17b47a | 96348:ecd6143014da |
---|---|
1 2008-06-26 Juanma Barranquero <lekktu@gmail.com> | |
2 Eli Zaretskii <eliz@gnu.org> | |
3 | |
4 * makefile.w32-in (LOCAL_FLAGS): | |
5 Don't include WINDOWSNT, DOS_NT and _UCHAR_T. | |
6 | |
7 * sysdep.c (_spawnlp, _getpid): | |
8 Declare with explicit _cdecl instead of _CRTAPI1. | |
9 | |
10 * editfns.c (Fget_internal_run_time): | |
11 Check for WINDOWSNT with #ifdef, not #if. | |
12 | |
1 2008-06-26 Jason Rumney <jasonr@gnu.org> | 13 2008-06-26 Jason Rumney <jasonr@gnu.org> |
2 | 14 |
3 * w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros. | 15 * w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros. |
4 | 16 |
5 * w32term.c (x_draw_glyph_string_foreground): | 17 * w32term.c (x_draw_glyph_string_foreground): |
6 (x_draw_composite_glyph_string_foreground): Sync with xterm.c. | 18 (x_draw_composite_glyph_string_foreground): Sync with xterm.c. |
7 Use FONT_HANDLE macro. | 19 Use FONT_HANDLE macro. |
8 (x_draw_glyph_string): Use FONT_TEXTMETRIC macro. | 20 (x_draw_glyph_string): Use FONT_TEXTMETRIC macro. |
9 | 21 |
10 * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape): | 22 * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape): |
11 (uniscribe_encode_char): Use FONT_HANDLE macro. | 23 (uniscribe_encode_char): Use FONT_HANDLE macro. |
12 | 24 |
13 * w32font.c (Fx_select_font): Use FONT_HANDLE macro. | 25 * w32font.c (Fx_select_font): Use FONT_HANDLE macro. |
14 (w32font_text_extents): Use precast w32_font. | 26 (w32font_text_extents): Use precast w32_font. |
15 (w32font_close): Free cached metrics. | 27 (w32font_close): Free cached metrics. |
16 (w32font_open_internal): Allocate space for name on stack. | 28 (w32font_open_internal): Allocate space for name on stack. |
17 | 29 |
18 2008-06-26 Chong Yidong <cyd@stupidchicken.com> | 30 2008-06-26 Chong Yidong <cyd@stupidchicken.com> |
19 | 31 |
20 * xdisp.c (extend_face_to_end_of_line): Fix last change. | 32 * xdisp.c (extend_face_to_end_of_line): Fix last change. |
21 | 33 |
22 2008-06-26 Jason Rumney <jasonr@gnu.org> | 34 2008-06-26 Jason Rumney <jasonr@gnu.org> |
23 | 35 |
24 * w32term.h (FONT_AVG_WIDTH): Remove obsolete macro. | 36 * w32term.h (FONT_AVG_WIDTH): Remove obsolete macro. |
25 (CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants. | 37 (CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants. |
26 | 38 |
27 2008-06-26 Juanma Barranquero <lekktu@gmail.com> | 39 2008-06-26 Juanma Barranquero <lekktu@gmail.com> |
28 | 40 |
29 * Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o. | 41 * Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o. |
30 | 42 |