1
0
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:
cc9cii 2014-02-22 17:21:19 +11:00
parent c241405d91
commit 29a33364cc

View File

@ -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);