try to reduce some Amiga cross-compile warnings
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
#ifdef CROSS_TO_AMIGA
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <dos/dos.h>
|
||||
#include <clib/dos_protos.h>
|
||||
#include <proto/dos.h>
|
||||
#endif
|
||||
|
||||
#ifdef __SASC_60 /* since SAS can prevent re-inclusion */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user