Home | History | Annotate | Download | only in jni
      1 /* The purpose of this test is to check that the target sysroot directory
      2  * appears _after_ the ones in LOCAL_C_INCLUDES, this allows us to
      3  * override certain headers.
      4  *
      5  * See http://code.google.com/p/android/issues/detail?id=18540
      6  */
      7 #include <stdio.h>
      8 
      9 /* This header should come from our $(LOCAL_PATH)/include directory */
     10 #include <math.h>
     11 
     12 #ifndef CUSTOM_MATH_H_WAS_INCLUDED
     13 #error THERE IS SOMETHING WRONG HERE !!
     14 #endif
     15 
     16 int foo(void)
     17 {
     18     return 42;
     19 }
     20