testLib4libopt.c 311 B

1234567891011121314
  1. #ifdef LIB_OPT
  2. /* We are building in testLib4libopt. Provide the correct symbol. */
  3. int testLib4libopt(void)
  4. {
  5. return 0;
  6. }
  7. #else
  8. /* We are not building in testLib4libopt. Poison the symbol. */
  9. extern int testLib4libopt_noexist(void);
  10. int testLib4libopt(void)
  11. {
  12. return testLib4libopt_noexist();
  13. }
  14. #endif