From e9bca998f99aa92e59cb359de8e3907b97882513 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Fri, 15 Feb 2013 02:20:49 +0100 Subject: [PATCH] config-dos.h: define strerror() to strerror_s_() for High-C --- config-dos.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config-dos.h b/config-dos.h index d15a177c..926db450 100644 --- a/config-dos.h +++ b/config-dos.h @@ -65,7 +65,7 @@ #if defined(__HIGHC__) || \ (defined(__GNUC__) && (__GNUC__ < 4)) -#define ssize_t int + #define ssize_t int #endif /* Target HAVE_x section */ @@ -86,6 +86,7 @@ #elif defined(__HIGHC__) #define HAVE_SYS_TIME_H 1 + #define strerror(e) strerror_s_((e)) #endif #ifdef WATT32