cmake/Tests/ExportImport/Export/testLib4libopt.c
Modestas Vainius d904454424 Import cmake 2.6.2
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2008-10-12 22:02:09 +03:00

15 lines
311 B
C

#ifdef LIB_OPT
/* We are building in testLib4libopt. Provide the correct symbol. */
int testLib4libopt(void)
{
return 0;
}
#else
/* We are not building in testLib4libopt. Poison the symbol. */
extern int testLib4libopt_noexist(void);
int testLib4libopt(void)
{
return testLib4libopt_noexist();
}
#endif