-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSX 10.12 compilation warning: syscall is deprecated #185
Comments
For the __NR_gettid we may need something like this: #include <pthread.h> #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12 For the write call, perhaps just replace with the libc write call: #define safe_write(fd, s, len) write(fd, s, len) |
Still get this warning.
|
@sergiud Hi, have these warnings been fixed ? Do you intend to do so, if not ? |
I've closed the issue due to inactivity. You're welcome to contribute. |
The relevant snippets are below.
The text was updated successfully, but these errors were encountered: