From a90969b6c3981a7d42bc260bc9687c458b9ca9e2 Mon Sep 17 00:00:00 2001 From: Zeex Date: Sat, 30 Dec 2017 19:52:01 +0600 Subject: [PATCH] Attempt to fix strlcpy/strlcat error on Travis CI --- source/compiler/lstring.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/compiler/lstring.h b/source/compiler/lstring.h index 25c0873..ecf608b 100644 --- a/source/compiler/lstring.h +++ b/source/compiler/lstring.h @@ -2,8 +2,9 @@ #include -#if defined __WATCOMC__ && __WATCOMC__ >= 1240 - /* OpenWatcom introduced BSD "safe string functions" with version 1.4 */ +#if (defined __WATCOMC__ && __WATCOMC__ >= 1240) + /* OpenWatcom introduced BSD "safe string functions" with version 1.4 */ + || defined __APPLE__ #define HAVE_SAFESTR #endif