[asan] Fix one more test on Android.
This change makes it pass both on libstdc++ and libc++-based toolchains.
The error was:
error: function-like macro '__GLIBC_PREREQ' is not defined
^
// RUN: %clangxx -O2 %s -o %t && %run %t 2>&1 | FileCheck %s
-// XFAIL: android
-
#include <stdio.h>
+#if !defined(__GLIBC_PREREQ)
+#define __GLIBC_PREREQ(a, b) 0
+#endif
+
// getauxval() used instead of sysconf() in GetPageSize() is defined starting
// glbc version 2.16.
-#if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 16)
+#if __GLIBC_PREREQ(2, 16)
extern "C" long sysconf(int name) {
fprintf(stderr, "sysconf wrapper called\n");
return 0;
