projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
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
a6f3f6f
..
88a10c9
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 */