mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 23:28:06 -05:00
Patch from RDB: invent a /DMSVC4 compile-time definition which
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... [originally from svn r1532]
This commit is contained in:
parent
c7aec27d6f
commit
9e6923016c
5
Makefile
5
Makefile
@ -46,6 +46,11 @@
|
||||
# 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
|
||||
|
@ -1,6 +1,10 @@
|
||||
/* 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 */
|
||||
|
@ -1,6 +1,10 @@
|
||||
/* 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 */
|
||||
|
@ -1,6 +1,10 @@
|
||||
/* 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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user