blob: 3fb547b4a637a7ee15e424a0d835ad86bdcf5c61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#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);
}
|