diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2013-02-15 01:51:19 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-02-15 02:35:09 +0100 |
commit | 2683927756df99964912f0188618d00740232269 (patch) | |
tree | 5a4a6e2211d045d77fe9d682d8289226780c884c /lib | |
parent | 5d8ec4a63476f4683cb06171feb2b64c2fc77ba1 (diff) |
config-dos.h: define strerror() to strerror_s_() for High-C
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config-dos.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/config-dos.h b/lib/config-dos.h index a6f3f6f77..88a10c966 100644 --- a/lib/config-dos.h +++ b/lib/config-dos.h @@ -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 */ |