commit | b36efa4343d79e3fb548d12d039193850246b892 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Sep 15 13:55:41 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu Sep 15 14:21:28 2016 -0700 |
tree | 727ac48a5341d8d50d6a297fe67f6067005befd3 | |
parent | 56228373014e5ee0a3ff32930df9cfa05fef7389 [diff] [blame] |
Fix instances of '#if __LP64__'. Triggers -Wundef, which is on in -Weverything. Bug: http://b/31496165 Change-Id: Ib06107073f7dd1d584c19c222d0430da9d35630b
diff --git a/libc/bionic/legacy_32_bit_support.cpp b/libc/bionic/legacy_32_bit_support.cpp index f2bb37d..983fb32 100644 --- a/libc/bionic/legacy_32_bit_support.cpp +++ b/libc/bionic/legacy_32_bit_support.cpp
@@ -37,7 +37,7 @@ #include <sys/vfs.h> #include <unistd.h> -#if __LP64__ +#if defined(__LP64__) #error This code is only needed on 32-bit systems! #endif