Bifrost SDK
Bifrost SDK documentation
FileUtilsExport.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//
16
17#ifndef FILE_UTILS_DECL_H
18#define FILE_UTILS_DECL_H
19
20#if defined(_WIN32)
21#define FILE_UTILS_EXPORT __declspec(dllexport)
22#define FILE_UTILS_IMPORT __declspec(dllimport)
23#elif defined(__GNUC__)
24#define FILE_UTILS_EXPORT __attribute__((visibility("default")))
25#define FILE_UTILS_IMPORT __attribute__((visibility("default")))
26#else
27#define FILE_UTILS_EXPORT
28#define FILE_UTILS_IMPORT
29#endif
30
31#if defined(FILE_UTILS_BUILD_DLL)
32#define FILE_UTILS_DECL FILE_UTILS_EXPORT
33#else
34#define FILE_UTILS_DECL FILE_UTILS_IMPORT
35#endif
36
37#endif // FILE_UTILS_DECL_H