Skip to content

Commit

Permalink
string: strerror_r() for windows.
Browse files Browse the repository at this point in the history
Signed-off-by: Gurucharan Shetty <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
shettyg committed Feb 13, 2014
1 parent ac01d08 commit 707b302
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/string.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 707b302

Please sign in to comment.