summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc2
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
index b6c1f7de41a..f41bbb3148d 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
@@ -340,7 +340,7 @@ namespace __sanitizer {
unsigned struct_sioc_vif_req_sz = sizeof(struct sioc_vif_req);
#endif
-#if SANITIZER_LINUX
+#if SANITIZER_LINUX && !SANITIZER_ANDROID
unsigned snd_pcm_sframes_t_sz = sizeof(snd_pcm_sframes_t);
unsigned snd_pcm_uframes_t_sz = sizeof(snd_pcm_uframes_t);
unsigned struct_hdsp_9632_aeb_sz = sizeof(struct hdsp_9632_aeb);
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
index e2ffcd78a52..7e7722e33ca 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -591,7 +591,7 @@ namespace __sanitizer {
extern unsigned struct_sioc_vif_req_sz;
#endif
-#if SANITIZER_LINUX
+#if SANITIZER_LINUX && !SANITIZER_ANDROID
extern unsigned snd_pcm_sframes_t_sz;
extern unsigned snd_pcm_uframes_t_sz;
extern unsigned struct_hdsp_9632_aeb_sz;
OpenPOWER on IntegriCloud