1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifdef __STDC__ #include <limits.h> #else #include <assert.h> #endif int main() { #if defined ${CHECK_STUB_FUNC_1} || defined ${CHECK_STUB_FUNC_2} return 0; #else this system have stub return 0; #endif }