Commit 90d2162f authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

Merge commit '2f98bf5c' into maint-0.2.4

(This is the part of the Bug 8042 patch that warns about unsigned time_t)
parents 5b0b51ca 2f98bf5c
o Build improvements:
- Warn if building on a platform with an unsigned time_t: there
are too many places where Tor currently assumes that time_t can
hold negative values. We'd like to fix them all, but probably
some will remain.
......@@ -972,6 +972,10 @@ AX_CHECK_SIGN([time_t],
#endif
])
if test "$ax_cv_decl_time_t_signed" = no; then
AC_MSG_WARN([You have an unsigned time_t; some things will probably break. Please tell the Tor developers about your interesting platform.])
fi
AX_CHECK_SIGN([size_t],
[ tor_cv_size_t_signed=yes ],
[ tor_cv_size_t_signed=no ], [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment