From 5992ca78fa8446907add3263fcb40801d46c1e77 Mon Sep 17 00:00:00 2001 From: Bryan Alger Date: Wed, 30 Apr 2014 22:41:23 -0700 Subject: [PATCH] Fix for Android importing folly/Random.cpp Summary: ext/random causes issues building on android Test Plan: compiled on fbandroid Reviewed By: bmaurer@fb.com FB internal diff: D1308224 --- folly/Random.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/Random.cpp b/folly/Random.cpp index e69a4452..a2c04df3 100644 --- a/folly/Random.cpp +++ b/folly/Random.cpp @@ -22,7 +22,7 @@ #include #include -#if __GNUC_PREREQ(4, 8) +#if __GNUC_PREREQ(4, 8) && !defined(ANDROID) #include #define USE_SIMD_PRNG #endif -- 2.34.1