il2cpp-config-api-platforms.h 458 B

12345678910111213141516
  1. #pragma once
  2. #include "os/c-api/il2cpp-config-platforms.h"
  3. #if !defined(IL2CPP_EXPORT)
  4. #ifdef _MSC_VER
  5. # include <malloc.h>
  6. # define IL2CPP_EXPORT __declspec(dllexport)
  7. # define IL2CPP_IMPORT __declspec(dllimport)
  8. #elif IL2CPP_TARGET_PSP2 || IL2CPP_TARGET_PS4
  9. # define IL2CPP_EXPORT __declspec(dllexport)
  10. # define IL2CPP_IMPORT __declspec(dllimport)
  11. #else
  12. # define IL2CPP_EXPORT __attribute__ ((visibility ("default")))
  13. # define IL2CPP_IMPORT
  14. #endif
  15. #endif