mirror of
https://github.com/obarthel/amiga-smbfs.git
synced 2025-12-08 14:58:35 +00:00
Added a somewhat less elegant workaround for our use of strncasecmp(), so that smbfs will compile for OS4 again.
This commit is contained in:
@@ -178,6 +178,15 @@ extern APTR allocate_cleared_memory(LONG count, LONG record_size);
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
/* This is a less than elegant workaround for our local strncasecmp()
|
||||
* function which the smbfs code which "parse-smb-url.c" uses.
|
||||
*/
|
||||
#ifdef strncasecmp
|
||||
#undef strncasecmp
|
||||
#endif /* strncasecmp */
|
||||
|
||||
#define strncasecmp _strncasecmp
|
||||
|
||||
extern LONG strncasecmp(const char *a, const char *b, LONG n);
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user