1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#ifdef BAR_LIBRARY # error Unexpected BAR_LIBRARY #endif #ifdef BANG_LIBRARY # error Unexpected BANG_LIBRARY #endif #include "foo.h" int foo() { return 0; }