diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2017-07-18 08:22:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-18 08:22:16 +0200 |
| commit | f0abd52be83a611f8fbf9b55ce699705aba5dfad (patch) | |
| tree | 4a4d3cfe8c2b8687560acf014164cf44f0f4c0b1 /src | |
| parent | 2ec0759b8cdd45deae8b9aba70ec7d23c7c3ddd8 (diff) | |
| parent | 7f6388f3a5edd08329fb9e6607f5db8531d6269a (diff) | |
| download | PROJ-f0abd52be83a611f8fbf9b55ce699705aba5dfad.tar.gz PROJ-f0abd52be83a611f8fbf9b55ce699705aba5dfad.zip | |
Merge pull request #547 from kbevers/hypot-ansi-safe
Make sure to use custom hypot() when building as ANSI C
Diffstat (limited to 'src')
| -rw-r--r-- | src/projects.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projects.h b/src/projects.h index a2dc10b9..c5cb131f 100644 --- a/src/projects.h +++ b/src/projects.h @@ -84,7 +84,7 @@ extern "C" { #endif /* prototype hypot for systems where absent */ -#ifndef _WIN32 +#if !defined(_WIN32) || !defined(__ANSI__) extern double hypot(double, double); #endif |
