projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8ec4a
)
config-dos.h: define strerror() to strerror_s_() for High-C
author
Gisle Vanem
<gvanem@broadpark.no>
Fri, 15 Feb 2013 00:51:19 +0000
(
01:51
+0100)
committer
Yang Tse
<yangsita@gmail.com>
Fri, 15 Feb 2013 01:35:09 +0000
(
02:35
+0100)
lib/config-dos.h
patch
|
blob
|
history
diff --git
a/lib/config-dos.h
b/lib/config-dos.h
index a6f3f6f779c0cc108c8bbd1868f8d343fad03cdf..88a10c966b9e1b52ab609cfdff860c8c2739a25d 100644
(file)
--- 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 */