>>>>> "Martin" == Martin Buchholz <martin(a)xemacs.org> writes:
Martin> As you are probably all aware, I have broken xemacs-21.2.5 on Windows,
Martin> and I don't have a development environment on Windows. I'm
Martin> particularly interested in getting at least a partial success story,
Martin> so we can quickly release xemacs-21.2.6.
Martin,
you patch makes frame-msw.c compile perfectly under WindowsNT.
Thanks!
Next will be my [Failure] build report due to pure.c
pure.c
..\src\pure.c(30) : warning C4002: too many actual parameters for macro 'get_PURESIZE'
..\src\pure.c(30) : error C2059: syntax error : 'constant'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Adrian
Martin> Here's the key patch again. Apply this, and let me know if you get a
Martin> successful build. If you succeed, try `make check'.
Martin> 1998-12-06 Martin Buchholz <martin(a)xemacs.org>
Martin> * frame-msw.c (mswindows_init_frame_1):
Martin> - use make_lisp_hash_table, not Fmake_hash_table
Martin> - include elhash.h
Martin> --- src/frame-msw.c.old
Martin> +++ src/frame-msw.c
Martin> @@ -35,6 +35,7 @@
Martin> #include "buffer.h"
Martin> #include "console-msw.h"
Martin> #include "glyphs-msw.h"
Martin> +#include "elhash.h"
Martin> #include "events.h"
Martin> #include "faces.h"
Martin> #include "frame.h"
Martin> @@ -128,8 +129,8 @@
Martin> FRAME_MSWINDOWS_DATA(f)->sizing = 0;
Martin> FRAME_MSWINDOWS_MENU_HASH_TABLE(f) = Qnil;
Martin> #ifdef HAVE_TOOLBARS
Martin> - FRAME_MSWINDOWS_TOOLBAR_HASH_TABLE(f) = Fmake_hash_table (make_int (50),
Martin> - Qequal);
Martin> + FRAME_MSWINDOWS_TOOLBAR_HASH_TABLE(f) =
Martin> + make_lisp_hash_table (50, HASH_TABLE_NON_WEAK, HASH_TABLE_EQUAL);
Martin> #endif
Martin> /* Will initialize these in WM_SIZE handler. We cannot do it now,