cmake-3.25.1-tutorial-source/Complete/MathFunctions/MathFunctions.h
zhangyazhou 8a5b8b3292 init
2022-12-11 21:34:46 +08: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);
}