Nexus Engine  v0.0.1
Loading...
Searching...
No Matches
Export.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
5#if defined(_WIN32) && defined(_MSC_VER)
6# if defined(NEXUS_ENGINE_BUILD)
7# define NEXUS_API __declspec(dllexport)
8# else
9# define NEXUS_API __declspec(dllimport)
10# endif
11#else
12# define NEXUS_API __attribute__((visibility("default")))
13#endif