git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ac01d08
)
string: strerror_r() for windows.
author
Gurucharan Shetty
<gshetty@nicira.com>
Thu, 13 Feb 2014 18:26:03 +0000
(10:26 -0800)
committer
Gurucharan Shetty
<gshetty@nicira.com>
Thu, 13 Feb 2014 22:09:30 +0000
(14:09 -0800)
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/string.h.in
patch
|
blob
|
history
diff --git
a/lib/string.h.in
b/lib/string.h.in
index
9e8fba9
..
bbdaeb4
100644
(file)
--- a/
lib/string.h.in
+++ b/
lib/string.h.in
@@
-35,6
+35,7
@@
#define strtok_r strtok_s
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
+#define strerror_r(errnum, buf, buflen) strerror_s(buf, buflen, errnum)
#endif
#ifndef HAVE_STRNLEN