commit | 66901e7074af5a2f92a88b5c4b88e5661bcf5655 | [log] [tgz] |
---|---|---|
author | George Kulakowski <kulakowski@google.com> | Thu Apr 05 10:40:09 2018 -0700 |
committer | George Kulakowski <kulakowski@google.com> | Fri Apr 06 14:13:20 2018 -0700 |
tree | 04c5c185cb5b344aaf84938bbaa5cd4fda5d63e0 | |
parent | 4afb8ecbbeffb98cd1f2b3adb9d61212cd54dbe1 [diff] |
[macos] Fix warnings around syscall deprecation on OS X 10.12 and up The prior attempt to land this patch was incorrect. The OS X version comparison is written as #if X >= Y, and on Linux, neither X nor Y are defined. This results in both expanding to 0 in this context, and the comparison being true. This is inadvertent. Now, explicitly gate this path first on OS_MACOSX being defined. Change-Id: Ia4e68f3785a64fecf035102e4285c2b015e050a1