testLib4libdbg.c 311 B

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