Mac OS X build fix

This commit is contained in:
kintel 2007-10-28 17:29:43 +00:00
parent d516b3b685
commit 1d40e5a048
1 changed files with 3 additions and 2 deletions

View File

@ -7,10 +7,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <ctype.h>
#if defined (__UNIX__) || defined (__APPLE__)
#define stricmp strcasecmp
#ifdef __UNIX__
#define stricmp strcasecmp
#define strnicmp strncasecmp
#endif