3 @@ -56,7 +56,7 @@ extern DECLSPEC int SDLCALL SDL_GetGamma(float *red, float *green, float *blue);
4 #define textdomain(x) while(false)
7 -#if !defined(OpenBSD) && !defined(FreeBSD) && !defined(__APPLE__)
8 +#if !defined(OpenBSD) && !defined(FreeBSD) && !defined(__APPLE__) && !(defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 38)
9 static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); }
10 static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; }