aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-04-30 22:42:21 +0200
committerGitHub <noreply@github.com>2018-04-30 22:42:21 +0200
commit2905808710c2450ec162c3052cd969936916fc57 (patch)
tree929477627568169633ac90cd0a6eac996dc9d410 /src
parentd0fefa4104d9b655d59e400cda616f0b4d407071 (diff)
parentcd579d223cbea43821382e77fe7c957524bdc9d3 (diff)
downloadPROJ-2905808710c2450ec162c3052cd969936916fc57.tar.gz
PROJ-2905808710c2450ec162c3052cd969936916fc57.zip
Merge pull request #965 from schwehr/proj_math
Move include of math.h inside include guard.
Diffstat (limited to 'src')
-rw-r--r--src/proj_math.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/proj_math.h b/src/proj_math.h
index 0108a439..1bb0a94f 100644
--- a/src/proj_math.h
+++ b/src/proj_math.h
@@ -25,17 +25,17 @@
* DEALINGS IN THE SOFTWARE.
*****************************************************************************/
-#include <math.h>
-
#ifndef PROJ_MATH_H
#define PROJ_MATH_H
+
+#include <math.h>
+
#ifdef __cplusplus
extern "C" {
#endif
#if !(defined(HAVE_C99_MATH) && HAVE_C99_MATH)
-
double pj_hypot(double x, double y);
double pj_log1p(double x);
double pj_asinh(double x);
@@ -46,10 +46,10 @@ int pj_isnan(double x);
#define asinh pj_asinh
#define isnan pj_isnan
-
#endif /* !(defined(HAVE_C99_MATH) && HAVE_C99_MATH) */
#ifdef __cplusplus
}
#endif
-#endif /*PROJ_MATH_H */
+
+#endif /* PROJ_MATH_H */