File export.hpp
File List > illixr > export.hpp
Go to the documentation of this file
#pragma once
#if defined(_WIN32) || defined(_WIN64)
# ifdef BUILDING_LIBRARY
# define MY_EXPORT_API __declspec(dllexport)
# else
# define MY_EXPORT_API __declspec(dllimport)
# endif
#elif defined(__GNUC__) || defined(__clang__)
# define MY_EXPORT_API __attribute__((visibility("default")))
#else
# define MY_EXPORT_API
#endif