OSDN Git Service

Don't build libstdc++ host tests with the Bionic headers.
[android-x86/system-extras.git] / tests / bionic / libstdc++ / test_cmath.cpp
index 438fb64..847c934 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 #include <cmath>
-#ifndef BIONIC_LIBSTDCPP_INCLUDE_CMATH__
+#if defined BIONIC && !defined BIONIC_LIBSTDCPP_INCLUDE_CMATH__
 #error "Wrong header file included!!"
 #endif