diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-08-24 02:11:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-08-24 02:11:33 +0000 |
commit | 5f2eea29f7608480716fe55e15f8952fb1264cb7 (patch) | |
tree | 580f05c6743de13e5d1b7bde0f5d9f1316818b29 /configure.in | |
parent | b72ab23dedaff45d8b228522107898f94d68dea0 (diff) | |
download | tor-5f2eea29f7608480716fe55e15f8952fb1264cb7.tar.gz tor-5f2eea29f7608480716fe55e15f8952fb1264cb7.zip |
Stop solaris from warning about localtime_r and friends. AFAICT, no other platforms want this.
svn:r4827
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 46f0336242..31ccecc54d 100644 --- a/configure.in +++ b/configure.in @@ -44,6 +44,12 @@ if test $enable_threads = "yes"; then AC_DEFINE(ENABLE_THREADS, 1, [Defined if we will try to use multithreading]) fi +case $host in + *-*-solaris* ) + AC_DEFINE(_REENTRANT, 1, [Define on some platforms to activate x_r() functions in time.h]) + ;; +esac + AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_RANLIB |