renames header files and symbols etc. Now if I could only _find_ my
copy of MSVC4 we might even be able to build Win32s binaries...
git-svn-id: svn://svn.tartarus.org/sgt/putty@1532
cda61777-01e9-0310-a592-
d414129be87e
# full-screen mode (configurable to work on Alt-Enter) will
# not behave usefully in a multi-monitor environment.
#
+# - COMPAT=/DMSVC4
+# - RCFL=/DMSVC4
+# Makes a couple of minor changes so that PuTTY compiles using
+# MSVC 4. You will also need /DNO_SECURITY and /DNO_MULTIMON.
+#
# - RCFL=/DASCIICTLS
# Uses ASCII rather than Unicode to specify the tab control in
# the resource file. Probably most useful when compiling with
/* Some compilers, like Borland, don't have winresrc.h */
#ifndef NO_WINRESRC_H
+#ifndef MSVC4
#include <winresrc.h>
+#else
+#include <winres.h>
+#endif
#endif
/* Some systems don't define this, so I do it myself if necessary */
/* Some compilers, like Borland, don't have winresrc.h */
#ifndef NO_WINRESRC_H
+#ifndef MSVC4
#include <winresrc.h>
+#else
+#include <winres.h>
+#endif
#endif
/* Some systems don't define this, so I do it myself if necessary */
/* Some compilers, like Borland, don't have winresrc.h */
#ifndef NO_WINRESRC_H
+#ifndef MSVC4
#include <winresrc.h>
+#else
+#include <winres.h>
+#endif
#endif
/* Some systems don't define this, so I do it myself if necessary */
#include "win_res.h"
#include "storage.h"
+#ifdef MSVC4
+#define TVINSERTSTRUCT TV_INSERTSTRUCT
+#define TVITEM TV_ITEM
+#define ICON_BIG 1
+#endif
+
static char **events = NULL;
static int nevents = 0, negsize = 0;