1
0
cmaketutorial/Step12/MathFunctions/MathFunctions.h
2023-10-29 11:50:48 +01: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);
}