r8757@Kushana: nickm | 2006-09-07 13:07:46 -0400

Fix more compile warnings on Woody.


svn:r8349
This commit is contained in:
Nick Mathewson 2006-09-07 19:00:51 +00:00
parent 8a12d9ae2e
commit c063c7b8cb
2 changed files with 6 additions and 0 deletions

View File

@ -502,6 +502,8 @@ AC_CHECK_SIZEOF(__int64)
AC_CHECK_SIZEOF(void *)
AC_CHECK_SIZEOF(time_t)
AC_CHECK_TYPES([uint, u_char])
if test -z "$CROSS_COMPILE"; then
AC_CACHE_CHECK([whether time_t is signed], tor_cv_time_t_signed, [
AC_TRY_RUN([

View File

@ -1,8 +1,12 @@
#include "orconfig.h"
#define DNS_USE_OPENSSL_FOR_ID
#ifndef HAVE_UINT
typedef unsigned int uint;
#endif
#ifndef HAVE_U_CHAR
typedef unsigned char u_char;
#endif
#ifdef MS_WINDOWS
#define inline __inline
#endif