BsOISPrerequisites.h 481 B

12345678910111213141516171819
  1. #pragma once
  2. #include "BsCorePrerequisites.h"
  3. #if (BS_PLATFORM == BS_PLATFORM_WIN32) && !defined(__MINGW32__)
  4. # ifdef BS_OIS_EXPORTS
  5. # define BS_OIS_EXPORT __declspec(dllexport)
  6. # else
  7. # if defined( __MINGW32__ )
  8. # define BS_OIS_EXPORT
  9. # else
  10. # define BS_OIS_EXPORT __declspec(dllimport)
  11. # endif
  12. # endif
  13. #elif defined ( BS_GCC_VISIBILITY )
  14. # define BS_OIS_EXPORT __attribute__ ((visibility("default")))
  15. #else
  16. # define BS_OIS_EXPORT
  17. #endif