mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Another attempt at fixing MinGW64
This commit is contained in:
parent
c241405d91
commit
29a33364cc
@ -9,7 +9,7 @@
|
||||
#include <string.h>
|
||||
#if (defined(__APPLE__) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1070) || defined(__MINGW32__)
|
||||
// need our own implementation of strnlen
|
||||
#ifdef __MINGW32__ && !__MINGW64__
|
||||
#if defined(__MINGW32__) && !defined(__MINGW64__)
|
||||
static size_t strnlen(const char *s, size_t n)
|
||||
{
|
||||
const char *p = (const char *)memchr(s, 0, n);
|
||||
|
Loading…
x
Reference in New Issue
Block a user