Borland makefile needs to define _WINDOWS; apparently this makefile
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 7 Nov 2002 19:37:36 +0000 (19:37 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 7 Nov 2002 19:37:36 +0000 (19:37 +0000)
hasn't worked since the Unix port started and nobody has noticed
until now :-)

git-svn-id: svn://svn.tartarus.org/sgt/putty@2198 cda61777-01e9-0310-a592-d414129be87e

mkfiles.pl

index 3710fcc..d141dea 100755 (executable)
@@ -352,7 +352,7 @@ print
 "MAKEFILE = Makefile.bor\n".
 "\n".
 "# C compilation flags\n".
-"CFLAGS = -DWINVER=0x0401\n".
+"CFLAGS = -D_WINDOWS -DWINVER=0x0401\n".
 "\n".
 "# Get include directory for resource compiler\n".
 "!if !\$d(BCB)\n".