Bifrost SDK
Bifrost SDK documentation
MathExport.h
Go to the documentation of this file.
1//-
2// =============================================================================
3// Copyright 2023 Autodesk, Inc. All rights reserved.
4//
5// Use of this software is subject to the terms of the Autodesk license
6// agreement provided at the time of installation or download, or which
7// otherwise accompanies this software in either electronic or hard copy form.
8// =============================================================================
9
10//+
11
12//
17
18#ifndef BIFROST_MATH_EXPORT_H_
19#define BIFROST_MATH_EXPORT_H_
20
21#if defined(_WIN32)
22#if defined(BIFROST_MATH_BUILD_SHARED)
23#define BIFROST_MATH_SHARED_DECL __declspec(dllexport)
24#else
25#define BIFROST_MATH_SHARED_DECL __declspec(dllimport)
26#endif
27#elif defined(__GNUC__)
28#define BIFROST_MATH_SHARED_DECL __attribute__((visibility("default")))
29#else
30#error "Unsupported platform."
31#endif
32
33#endif