1 /* 2 * E-UAE - The portable Amiga Emulator 3 * 4 * Handle the vagaries of C library string functions. 5 * 6 * (c) 2003-2007 Richard Drummond 7 * 8 * Based on code from UAE. 9 * (c) 1995-2002 Bernd Schmidt 10 */ 11 12 #ifndef UAE_STRING_H 13 #define UAE_STRING_H 14 15 #ifdef HAVE_STRING_H 16 #include <string.h> 17 #endif 18 19 #ifdef HAVE_STRDUP 20 #define my_strdup strdup 21 #else 22 extern char *my_strdup (const char *s); 23 #endif 24 25 #ifndef HAVE_STRCASECMP 26 # ifdef HAVE_STRCMPI 27 # define strcasecmp strcmpi 28 # else 29 # ifdef HAVE_STRICMP 30 # define strcasecmp stricmp 31 # endif 32 # endif 33 #endif 34 35 #endif /* UAE_STRING_H */ 36