| 1 |
/* |
| 2 |
* Copyright(C) 1999-2022 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
#pragma once |
| 9 |
|
| 10 |
#cmakedefine EXODUSII_BUILD_SHARED_LIBS |
| 11 |
#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER) || \ |
| 12 |
defined(__MINGW32__) || defined(_WIN64) || defined(__MINGW64__) |
| 13 |
#if defined(EXODUSII_BUILD_SHARED_LIBS) |
| 14 |
# if defined(exoIIc_EXPORTS) |
| 15 |
# define EXODUS_EXPORT __declspec( dllexport ) extern |
| 16 |
# else |
| 17 |
# define EXODUS_EXPORT __declspec( dllimport ) extern |
| 18 |
# endif |
| 19 |
#endif |
| 20 |
#else |
| 21 |
# define EXODUS_EXPORT extern |
| 22 |
#endif |