aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-15 16:15:27 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-15 16:24:21 -0400
commit7a597718bb9cda3dd553c2b12fd42f04ead44c85 (patch)
tree4f469c213ce1a688c8bf4c8f6874823117e705f9 /src/common/util.c
parent40ce9819dd7c589f624715c9c800cff714140a70 (diff)
downloadtor-7a597718bb9cda3dd553c2b12fd42f04ead44c85.tar.gz
tor-7a597718bb9cda3dd553c2b12fd42f04ead44c85.zip
Split some long #if lines to make the #endif annotator happy
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 788d2501b1..2092fab289 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -5623,7 +5623,7 @@ clamp_double_to_int64(double number)
{
int exponent;
-#if (defined(__MINGW32__) || defined(__MINGW64__)) && GCC_VERSION >= 409
+#if defined(MINGW_ANY) && GCC_VERSION >= 409
/*
Mingw's math.h uses gcc's __builtin_choose_expr() facility to declare
isnan, isfinite, and signbit. But as implemented in at least some