From: Gurucharan Shetty Date: Thu, 13 Feb 2014 18:26:03 +0000 (-0800) Subject: string: strerror_r() for windows. X-Git-Tag: sliver-openvswitch-2.1.90-1~1^2~55 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=707b3025cbf34cffe7cd6f7715058aecf5826a32;p=sliver-openvswitch.git string: strerror_r() for windows. Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- diff --git a/lib/string.h.in b/lib/string.h.in index 9e8fba91d..bbdaeb43e 100644 --- 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