1 1.1 christos /* Used by the test harness to see if toolchain uses newlib. */ 2 1.1 christos #include <newlib.h> 3 1.1 christos #if defined(__NEWLIB__) || defined(_NEWLIB_VERSION) 4 1.1 christos int main() 5 1.1 christos { 6 1.1 christos return 0; 7 1.1 christos } 8 1.1 christos #else 9 1.1 christos # error "not newlib" 10 1.1 christos #endif 11