Bifrost SDK
Bifrost SDK documentation
MayaExport.h
Go to the documentation of this file.
1#line 1 "W:/bifrost-maya-plugin/src/bifrost-plugin/src/bifrostboard-plugin/hostdata/MayaExport.h"
2//-
3//**************************************************************************/
4// Copyright 2022 Autodesk, Inc. All rights reserved.
5//
6// Use of this software is subject to the terms of the Autodesk
7// license agreement provided at the time of installation or download,
8// or which otherwise accompanies this software in either electronic
9// or hard copy form.
10//**************************************************************************/
11//+
12
13#ifndef MAYA_HOST_DATA_DECL
14#define MAYA_HOST_DATA_DECL
15
16#ifdef _WIN32
17 #ifdef MAYA_HOST_DATA_BUILD_DLL
18 #define MAYA_HOST_DATA_SHARED_DECL __declspec(dllexport)
19 #else
20 #define MAYA_HOST_DATA_SHARED_DECL __declspec(dllimport)
21 #endif
22#elif defined(__GNUC__)
23 #define MAYA_HOST_DATA_SHARED_DECL __attribute__((visibility("default")))
24#else
25 #define MAYA_HOST_DATA_SHARED_DECL
26#endif
27
28#endif