diff options
author | Markus Ferrell <markus.ferrell@kitware.com> | 2022-07-20 13:24:40 -0400 |
---|---|---|
committer | Markus Ferrell <markus.ferrell@kitware.com> | 2022-08-08 17:15:48 -0400 |
commit | ccba87b05b022cc021580b65ae51bbae0002fadb (patch) | |
tree | e90c94d2bb65845b23c483dae801cfbd8cf498d3 /Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h | |
parent | ad20e7b2ae6e698b6778f0572f1a03fdf1fcacda (diff) | |
download | cmake-ccba87b05b022cc021580b65ae51bbae0002fadb.tar.gz |
Tutorial: Move step 10 to step 4
Shifts steps 4-9 to 5-10.
Diffstat (limited to 'Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h')
-rw-r--r-- | Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h b/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h index 3fb547b4a6..cd36bccffd 100644 --- a/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h +++ b/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h @@ -1,14 +1 @@ - -#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); -} +double mysqrt(double x); |