ios-unity/Libraries/libil2cpp/include/os/c-api/il2cpp-config-api-platforms.h
2022-07-11 13:33:51 +08:00

16 lines
424 B
C

#pragma once
#include "os/c-api/il2cpp-config-platforms.h"
#ifdef _MSC_VER
# include <malloc.h>
# define IL2CPP_EXPORT __declspec(dllexport)
# define IL2CPP_IMPORT __declspec(dllimport)
#elif IL2CPP_TARGET_PSP2 || IL2CPP_TARGET_PS4
# define IL2CPP_EXPORT __declspec(dllexport)
# define IL2CPP_IMPORT __declspec(dllimport)
#else
# define IL2CPP_EXPORT __attribute__ ((visibility ("default")))
# define IL2CPP_IMPORT
#endif