Here's a patch. Completely untested. Please confirm.
I may have broken some other Windows stuff, since I don't have a
Windows development environment, but it should all be relatively easy
to fix.
Martin
>>>> "APA" == Adrian Aichner
<aichner(a)ecf.teradyne.com> writes:
APA> ..\src\frame-msw.c(131) : warning C4013: 'Fmake_hash_table' undefined;
assuming extern returning int
APA> ..\src\frame-msw.c(132) : error C2115: '=' : incompatible types
APA> terminates compilation under WindowsNT native.
1998-12-06 Martin Buchholz <martin(a)xemacs.org>
* frame-msw.c (mswindows_init_frame_1):
- use make_lisp_hash_table, not Fmake_hash_table
- include elhash.h
--- src/frame-msw.c.old
+++ src/frame-msw.c
@@ -35,6 +35,7 @@
#include "buffer.h"
#include "console-msw.h"
#include "glyphs-msw.h"
+#include "elhash.h"
#include "events.h"
#include "faces.h"
#include "frame.h"
@@ -128,8 +129,8 @@
FRAME_MSWINDOWS_DATA(f)->sizing = 0;
FRAME_MSWINDOWS_MENU_HASH_TABLE(f) = Qnil;
#ifdef HAVE_TOOLBARS
- FRAME_MSWINDOWS_TOOLBAR_HASH_TABLE(f) = Fmake_hash_table (make_int (50),
- Qequal);
+ FRAME_MSWINDOWS_TOOLBAR_HASH_TABLE(f) =
+ make_lisp_hash_table (50, HASH_TABLE_NON_WEAK, HASH_TABLE_EQUAL);
#endif
/* Will initialize these in WM_SIZE handler. We cannot do it now,