diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-04-14 16:47:53 +0200 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-04-16 22:55:06 +0200 |
| commit | 327a8f8b5a850167901a92747767e14ffe77c03b (patch) | |
| tree | c1681555e256f97258b8624f2190b813c7fdd2c2 /src/makefile.vc | |
| parent | ee22447de347c78944af849b10e0c9fd10184c28 (diff) | |
| download | PROJ-327a8f8b5a850167901a92747767e14ffe77c03b.tar.gz PROJ-327a8f8b5a850167901a92747767e14ffe77c03b.zip | |
Collect custom C99 math functions in proj_math.h
We are relying more and more on C99 math functions. On C89 systems where
those functions are not available our own custom versions of those
functions are used instead. So far these has been spread across the code
base. This commit gathers them in the same file and introduces the
proj_math.h header. The build system checks for C99 math functions. If
not found the proj_math.h header make sure that C99 functions are
defined as their pj_ equivalent.
Ideally proj_math.h is included instead of math.h. This removes the need
for any checks against HAVE_C99_MATH in the code making it easier to
read.
For this commit the functions hypot, log1p and asinh has been taken care
of.
Diffstat (limited to 'src/makefile.vc')
| -rw-r--r-- | src/makefile.vc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile.vc b/src/makefile.vc index ee89beb3..ef39b084 100644 --- a/src/makefile.vc +++ b/src/makefile.vc @@ -55,7 +55,7 @@ support = \ pj_utils.obj pj_gridlist.obj pj_gridinfo.obj \ proj_mdist.obj pj_mutex.obj pj_initcache.obj \ pj_ctx.obj pj_fileapi.obj pj_log.obj pj_apply_vgridshift.obj \ - pj_strtod.obj pj_internal.obj + pj_strtod.obj pj_internal.obj pj_math.obj pipeline = \ proj_4D_api.obj PJ_cart.obj PJ_pipeline.obj PJ_horner.obj PJ_helmert.obj \ |
