OpenVDB 7.0.0

PlatformConfig.h
Go to the documentation of this file.
1 // Copyright Contributors to the OpenVDB Project
2 // SPDX-License-Identifier: MPL-2.0
5
6 #ifndef OPENVDB_PLATFORMCONFIG_HAS_BEEN_INCLUDED
7 #define OPENVDB_PLATFORMCONFIG_HAS_BEEN_INCLUDED
8
9 // Windows specific configuration
10 #ifdef _WIN32
11
12 // By default, assume we're building OpenVDB as a DLL if we're dynamically
13 // linking in the CRT, unless OPENVDB_STATICLIB is defined.
14 #if defined(_DLL) && !defined(OPENVDB_STATICLIB) && !defined(OPENVDB_DLL)
15 #define OPENVDB_DLL
16 #endif
17
18 // By default, assume that we're dynamically linking OpenEXR, unless
19 // OPENVDB_OPENEXR_STATICLIB is defined.
20 #if !defined(OPENVDB_OPENEXR_STATICLIB) && !defined(OPENEXR_DLL)
21 #define OPENEXR_DLL
22 #endif
23
24 #endif // _WIN32
25
26 #endif // OPENVDB_PLATFORMCONFIG_HAS_BEEN_INCLUDED