|
|
|
|
@ -37,7 +37,7 @@ extern "C" {
|
|
|
|
|
// POSIX functions missing on Windows
|
|
|
|
|
#define strcasecmp _stricmp |
|
|
|
|
#define strncasecmp _strnicmp |
|
|
|
|
#define getpid() ((int)GetCurrentProcessId()) |
|
|
|
|
#include <process.h> |
|
|
|
|
|
|
|
|
|
// memmem — not available on Windows
|
|
|
|
|
#define memmem compat_memmem |
|
|
|
|
|