diff options
author | Colin Cross <ccross@android.com> | 2022-02-03 00:37:30 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-02-03 00:37:30 +0000 |
commit | 43777fe765e0f659b026ffa8452e64b32a2f7642 (patch) | |
tree | bd57fa9cc63db0affac1a8917126b77b700e3f25 | |
parent | 556fd5750554733bc3b6e2f691b4ce6c1b9fdf78 (diff) | |
parent | b1dcab2a1ae6877050e51fc052e2eadea4bf806f (diff) | |
download | libdrm-43777fe765e0f659b026ffa8452e64b32a2f7642.tar.gz |
Use __BIONIC__ instead of ANDROID to check for bionic am: f52fb58e67 am: b2ec686cf2 am: b1dcab2a1a
Original change: https://android-review.googlesource.com/c/platform/external/libdrm/+/1969739
Change-Id: I14db8120d1eab1a7e2c9db9159bee74609d9c226
-rw-r--r-- | libdrm_macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm_macros.h b/libdrm_macros.h index 0dca8273..5caaa801 100644 --- a/libdrm_macros.h +++ b/libdrm_macros.h @@ -45,7 +45,7 @@ #include <sys/mman.h> -#if defined(ANDROID) && !defined(__LP64__) +#if defined(__BIONIC__) && !defined(__LP64__) #include <errno.h> /* for EINVAL */ static inline void *drm_mmap(void *addr, size_t length, int prot, int flags, |