aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/projects.h2
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