be more consistent with CROSS_TO_target macro names for cross-compiles

-DCROSS_TO_MSDOS	msdos cross-compile (djgpp cross-compiler)
-DCROSS_TO_AMIGA	Amiga cross-compile
-DCROSS_TO_WASM		wasm cross-compile (emscripten)
This commit is contained in:
nhmall
2020-10-08 13:49:24 -04:00
parent 342323eb15
commit 5dcc328759
16 changed files with 34 additions and 34 deletions

View File

@@ -14,7 +14,7 @@
#include <time.h> /* get time_t defined before use! */
#ifdef AMIGA_CROSS
#ifdef CROSS_TO_AMIGA
#include <stdlib.h>
#include <string.h>
#endif
@@ -56,7 +56,7 @@ typedef long off_t;
#define DLBFILE2 "nhsdat" /* sound library */
#endif
#ifndef AMIGA_CROSS
#ifndef CROSS_TO_AMIGA
#define FILENAME_CMP stricmp /* case insensitive */
#else
#define FILENAME_CMP strcmpi /* case insensitive */
@@ -76,7 +76,7 @@ typedef long off_t;
#define MFLOPPY /* You'll probably want this; provides assistance \
* for typical personal computer configurations \
*/
#ifndef AMIGA_CROSS
#ifndef CROSS_TO_AMIGA
#define RANDOM
#endif
@@ -149,7 +149,7 @@ extern char *FDECL(gets, (char *));
#define TEXTCOLOR /* Use colored monsters and objects */
#define HACKFONT /* Use special hack.font */
#ifndef AMIGA_CROSS /* issues with prototype and spawnl */
#ifndef CROSS_TO_AMIGA /* issues with prototype and spawnl */
#define SHELL /* Have a shell escape command (!) */
#endif
#define MAIL /* Get mail at unexpected occasions */