1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-28 23:06:14 +08:00
2019-06-18 10:36:16 -04:00

15 lines
264 B
C++

#if defined(_WIN32)
# if defined(EXPORTING_MYMATH)
# define DECLSPEC __declspec(dllexport)
# else
# define DECLSPEC __declspec(dllimport)
# endif
#else // non windows
# define DECLSPEC
#endif
namespace mathfunctions {
double DECLSPEC sqrt(double x);
}