2013-06-04 18:25:47 +04:00
|
|
|
|
|
|
|
#ifdef FOO_LIBRARY
|
|
|
|
#error Unexpected FOO_LIBRARY
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef BAR_USE_BANG
|
2016-05-16 17:34:04 +03:00
|
|
|
#ifndef BANG_LIBRARY
|
|
|
|
#error Expected BANG_LIBRARY
|
|
|
|
#endif
|
|
|
|
#include "bang.h"
|
2013-06-04 18:25:47 +04:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
#ifdef BANG_LIBRARY
|
|
|
|
#error Unexpected BANG_LIBRARY
|
|
|
|
#endif
|
2013-06-04 18:25:47 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "bar.h"
|
|
|
|
|
|
|
|
int bar()
|
|
|
|
{
|
|
|
|
#ifdef BAR_USE_BANG
|
|
|
|
return bang();
|
|
|
|
#else
|
|
|
|
return 0;
|
|
|
|
#endif
|
|
|
|
}
|