Permalink
Browse files

config-dos.h: define strerror() to strerror_s_() for High-C

  • Loading branch information...
1 parent 5d8ec4a commit 2683927756df99964912f0188618d00740232269 Gisle Vanem committed with yangtse Feb 15, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/config-dos.h
View
@@ -148,7 +148,7 @@
#if defined(__HIGHC__) || \
(defined(__GNUC__) && (__GNUC__ < 4))
-#define ssize_t int
+ #define ssize_t int
#endif
#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")
@@ -174,6 +174,7 @@
#elif defined(__HIGHC__)
#define HAVE_SYS_TIME_H 1
+ #define strerror(e) strerror_s_((e))
#endif
#ifdef MSDOS /* Watt-32 */

0 comments on commit 2683927

Please sign in to comment.