1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#ifndef FOO_LIBRARY # error Expected FOO_LIBRARY #endif #ifndef BAR_LIBRARY # error Expected BAR_LIBRARY #endif #ifdef BANG_LIBRARY # error Unexpected BANG_LIBRARY #endif #ifdef ZOT_LIBRARY # error Unexpected ZOT_LIBRARY #endif #include "zot.h" int main(void) { return foo() + bar() + zot(); }