diff --git a/test_common/harness/testHarness.cpp b/test_common/harness/testHarness.cpp index a4432fa6..718983a7 100644 --- a/test_common/harness/testHarness.cpp +++ b/test_common/harness/testHarness.cpp @@ -34,7 +34,7 @@ #include #endif -#if !defined(_WIN32) && !defined(__ANDROID__) +#if defined(__APPLE__) #include #endif diff --git a/test_conformance/conversions/test_conversions.cpp b/test_conformance/conversions/test_conversions.cpp index db5491fd..2af85558 100644 --- a/test_conformance/conversions/test_conversions.cpp +++ b/test_conformance/conversions/test_conversions.cpp @@ -19,7 +19,7 @@ #include "harness/testHarness.h" #include "harness/kernelHelpers.h" #include "harness/parseParameters.h" -#if !defined(_WIN32) && !defined(__ANDROID__) +#if defined(__APPLE__) #include #endif diff --git a/test_conformance/half/main.cpp b/test_conformance/half/main.cpp index 1af138ca..6600cc58 100644 --- a/test_conformance/half/main.cpp +++ b/test_conformance/half/main.cpp @@ -19,7 +19,7 @@ #if !defined (_WIN32) #include -#if !defined(__ANDROID__) +#if defined(__APPLE__) #include #endif #include diff --git a/test_conformance/printf/test_printf.cpp b/test_conformance/printf/test_printf.cpp index 075a2767..b169e6b9 100644 --- a/test_conformance/printf/test_printf.cpp +++ b/test_conformance/printf/test_printf.cpp @@ -20,7 +20,7 @@ #include #if ! defined( _WIN32) -#if ! defined( __ANDROID__ ) +#if defined(__APPLE__) #include #endif #include diff --git a/test_conformance/select/test_select.cpp b/test_conformance/select/test_select.cpp index 031d3ca1..da136b48 100644 --- a/test_conformance/select/test_select.cpp +++ b/test_conformance/select/test_select.cpp @@ -20,7 +20,7 @@ #include #include #if ! defined( _WIN32) -#if ! defined( __ANDROID__ ) +#if defined(__APPLE__) #include #endif #endif