From 44f3778af1f5a242c708434e5ba22508c736c0d9 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Wed, 8 Dec 2021 12:33:46 -0800 Subject: [PATCH] More DJGPP cleanup --- README.WINDOWS | 4 +++- config.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.WINDOWS b/README.WINDOWS index 1cdb36c..d29fbe1 100644 --- a/README.WINDOWS +++ b/README.WINDOWS @@ -128,7 +128,9 @@ recommends the following settings: CALCPATH= .;./cal;~/.cal;${CALC_SHAREDIR};${CUSTOMCALDIR} CALCRC= ./.calcinit;~/.calcrc;${CALC_SHAREDIR}/startup CALCPAGER= less.exe -ci - DEBUG= -O2 -gstabs+ -DWINDOZ + DEBUG= -O2 -gstabs+ -D_WIN32 + HAVE_ENVIRON=-DHAVE_NO_ENVIRON + HAVE_ARC4RANDOM=-DHAVE_NO_ARC4RANDOM The 'Linux set' or 'gcc set' (see the Select your compiler type section) should work for DJGPP systems if you set the above Makefile variables. diff --git a/config.c b/config.c index 4c0f1bd..55f15eb 100644 --- a/config.c +++ b/config.c @@ -179,7 +179,7 @@ CONFIG oldstd = { /* backward compatible standard configuration */ #if defined(_WIN32) || defined(_WIN64) TRUE, /* running under windows */ #else - FALSE, /* congrats, you are not using windows */ + FALSE, /* not using windows */ #endif #if defined(__CYGWIN__) TRUE, /* compiled under cygwin */ @@ -239,7 +239,7 @@ CONFIG newstd = { /* new non-backward compatible configuration */ #if defined(_WIN32) || defined(_WIN64) TRUE, /* running under windows */ #else - FALSE, /* congrats, you are not using windows */ + FALSE, /* not using windows */ #endif #if defined(__CYGWIN__) TRUE, /* compiled under cygwin */