summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2013-02-15 02:20:49 +0100
committerYang Tse <yangsita@gmail.com>2013-02-15 02:36:11 +0100
commite9bca998f99aa92e59cb359de8e3907b97882513 (patch)
tree30d0f7724549d45b2f2d7d4f56729dabed2abd1a
parent050663271eb699f9366bdc5f6664e8aeeb2c92d2 (diff)
downloadc-ares-e9bca998f99aa92e59cb359de8e3907b97882513.tar.gz
c-ares-e9bca998f99aa92e59cb359de8e3907b97882513.tar.bz2
c-ares-e9bca998f99aa92e59cb359de8e3907b97882513.zip
config-dos.h: define strerror() to strerror_s_() for High-C
-rw-r--r--config-dos.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config-dos.h b/config-dos.h
index d15a177..926db45 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