Skip to content

Conversation

@dx9
Copy link
Contributor

@dx9 dx9 commented Jan 28, 2018

?

@zieckey
Copy link
Collaborator

zieckey commented Jan 30, 2018

Do you test on all platforms? MACOSX, windows, linux ?

@dx9
Copy link
Contributor Author

dx9 commented Jan 30, 2018

I've tested it on alpine (XSI), ubuntu (GNU), and OS X (XSI). I don't have windows.

evpp/sockets.cc Outdated
return empty_string;
}
#else
std::string handle_strerror_r(char* s, char* buf) // GNU-specific
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to const char* s is better.

…ntation.

Avoids using macros or cmake to detect implementation.

Inspired by http://zverovich.net/2015/03/13/reliable-detection-of-strerror-variants.html.

Signed-off-by: John Coyle <dx9err@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants