bat.cpp 381 B

12345678910111213141516171819202122232425262728
  1. #ifndef FOO_DEFINE
  2. #error Expected FOO_DEFINE
  3. #endif
  4. #ifndef BAR_DEFINE
  5. #error Expected Bar_DEFINE
  6. #endif
  7. #include "commandoutput.h"
  8. #ifndef COMMANDOUTPUT_DEFINE
  9. #error Expected COMMANDOUTPUT_DEFINE
  10. #endif
  11. #include "targetoutput.h"
  12. #ifndef TARGETOUTPUT_DEFINE
  13. #error Expected TARGETOUTPUT_DEFINE
  14. #endif
  15. #ifdef _WIN32
  16. __declspec(dllexport)
  17. #endif
  18. int bar()
  19. {
  20. return 0;
  21. }