try to reduce some Amiga cross-compile warnings

This commit is contained in:
nhmall
2026-03-25 08:48:14 -04:00
parent 3c89dc2387
commit b58d2d4096
5 changed files with 20 additions and 4 deletions

View File

@@ -110,10 +110,14 @@ enum optchoice { opt_in, opt_out};
typedef uchar nhsym;
#ifndef STRNCMPI
#ifndef __SASC_60 /* SAS/C already shifts to stricmp */
/* SAS/C already shifts to stricmp */
#if !defined(__SASC_60) && !defined(CROSS_TO_AMIGA)
#define strcmpi(a, b) strncmpi((a), (b), -1)
#endif
#endif
#ifdef CROSS_TO_AMIGA
#define strcmpi(a, b) stricmp(a, b)
#endif
/* #define SPECIALIZATION */ /* do "specialized" version of new topology */