mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
More DJGPP cleanup
This commit is contained in:
@@ -128,7 +128,9 @@ recommends the following settings:
|
|||||||
CALCPATH= .;./cal;~/.cal;${CALC_SHAREDIR};${CUSTOMCALDIR}
|
CALCPATH= .;./cal;~/.cal;${CALC_SHAREDIR};${CUSTOMCALDIR}
|
||||||
CALCRC= ./.calcinit;~/.calcrc;${CALC_SHAREDIR}/startup
|
CALCRC= ./.calcinit;~/.calcrc;${CALC_SHAREDIR}/startup
|
||||||
CALCPAGER= less.exe -ci
|
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)
|
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.
|
should work for DJGPP systems if you set the above Makefile variables.
|
||||||
|
4
config.c
4
config.c
@@ -179,7 +179,7 @@ CONFIG oldstd = { /* backward compatible standard configuration */
|
|||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
TRUE, /* running under windows */
|
TRUE, /* running under windows */
|
||||||
#else
|
#else
|
||||||
FALSE, /* congrats, you are not using windows */
|
FALSE, /* not using windows */
|
||||||
#endif
|
#endif
|
||||||
#if defined(__CYGWIN__)
|
#if defined(__CYGWIN__)
|
||||||
TRUE, /* compiled under cygwin */
|
TRUE, /* compiled under cygwin */
|
||||||
@@ -239,7 +239,7 @@ CONFIG newstd = { /* new non-backward compatible configuration */
|
|||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
TRUE, /* running under windows */
|
TRUE, /* running under windows */
|
||||||
#else
|
#else
|
||||||
FALSE, /* congrats, you are not using windows */
|
FALSE, /* not using windows */
|
||||||
#endif
|
#endif
|
||||||
#if defined(__CYGWIN__)
|
#if defined(__CYGWIN__)
|
||||||
TRUE, /* compiled under cygwin */
|
TRUE, /* compiled under cygwin */
|
||||||
|
Reference in New Issue
Block a user