Skip to content

Commit

Permalink
lib: monkey: extend strerror_r conditional for all Unix variants (#158)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Jan 4, 2017
1 parent a5dcd7a commit fc6b920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/monkey/include/monkey/mk_core/mk_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pthread_key_t mk_utils_error_key;
#undef strerror_r
#endif
#define strerror_r(errno, buf, len) strerror_s(buf, len, errno)
#elif !defined(__APPLE__)
#elif !defined(__unix__)
#ifdef __cplusplus
extern "C"
{
Expand Down

0 comments on commit fc6b920

Please sign in to comment.