main.cpp 335 B

1234567891011121314151617181920212223
  1. #ifdef _WIN32
  2. # define IMPORT __declspec(dllimport)
  3. IMPORT int shared_version();
  4. int static_version()
  5. {
  6. return 0;
  7. }
  8. int mixed_version()
  9. {
  10. return 0;
  11. }
  12. #else
  13. int shared_version();
  14. int static_version();
  15. int mixed_version();
  16. #endif
  17. int main()
  18. {
  19. return mixed_version() == 0 && shared_version() == 0 &&
  20. static_version() == 0;
  21. }