Utilities/KWSys/testDynloadImpl.h
raw| 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
| 2 | file Copyright.txt or https://cmake.org/licensing#kwsys for details. */ |
| 3 | #ifdef _WIN32 |
| 4 | # ifdef BUILDING_TestDynloadImpl |
| 5 | # define DLIMPL_EXPORT __declspec(dllexport) |
| 6 | # else |
| 7 | # define DLIMPL_EXPORT __declspec(dllimport) |
| 8 | # endif |
| 9 | #else |
| 10 | # define DLIMPL_EXPORT |
| 11 | #endif |
| 12 | |
| 13 | DLIMPL_EXPORT int TestDynamicLoaderImplData; |
| 14 | |
| 15 | DLIMPL_EXPORT void TestDynamicLoaderImplSymbolPointer(); |