mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Cross compatibility function union (strcasecmp, unlink)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@293 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -22,6 +22,15 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
// Function Cross-Compatibility
|
||||
#ifdef _WIN32
|
||||
#define strcasecmp _stricmp
|
||||
#define unlink _unlink
|
||||
#else
|
||||
#define _stricmp strcasecmp
|
||||
#define _unlink unlink
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define POSIX 0
|
||||
#define NOMINMAX
|
||||
|
Reference in New Issue
Block a user