diff options
Diffstat (limited to 'Tests/Tutorial/Complete/MathFunctions/MathFunctions.h')
-rw-r--r-- | Tests/Tutorial/Complete/MathFunctions/MathFunctions.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/Tutorial/Complete/MathFunctions/MathFunctions.h b/Tests/Tutorial/Complete/MathFunctions/MathFunctions.h new file mode 100644 index 0000000000..3fb547b4a6 --- /dev/null +++ b/Tests/Tutorial/Complete/MathFunctions/MathFunctions.h @@ -0,0 +1,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); +} |