diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-11-17 08:33:19 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-11-17 08:33:26 -0800 |
commit | 0958b18da03e664802c5d4956629c4a2fb6e5664 (patch) | |
tree | f8e32fe58f7b82ca8e8a5f2a2929181a70fac464 /libcutils/sockets_unix.cpp | |
parent | 231d1ac640c4112c984fdea41a372e74d239d2bb (diff) |
libcutils: sdk(mac) build error (part deux)
Test: Build
Bug: 32450474
Change-Id: I92cca30217715779a9db6a60e2e4831a20cec3d4
Diffstat (limited to 'libcutils/sockets_unix.cpp')
-rw-r--r-- | libcutils/sockets_unix.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcutils/sockets_unix.cpp b/libcutils/sockets_unix.cpp index 948d09c60..5a14a5c5e 100644 --- a/libcutils/sockets_unix.cpp +++ b/libcutils/sockets_unix.cpp @@ -31,6 +31,10 @@ #include "android_get_control_env.h" +#ifndef TEMP_FAILURE_RETRY +#define TEMP_FAILURE_RETRY(exp) (exp) // KISS implementation +#endif + #if defined(__ANDROID__) /* For the socket trust (credentials) check */ #include <private/android_filesystem_config.h> |