Fix some problems found while compiling and linking Wine under
Cygwin
Alexandre Julliard
julliard at winehq.org
Tue Oct 14 00:30:19 CDT 2003
Dmitry Timoshkov <dmitry at baikal.ru> writes:
> +++ wine/configure.ac Sun Oct 12 10:54:02 2003
> @@ -969,6 +969,7 @@ AC_CHECK_FUNCS(\
> popen \
> pread \
> pwrite \
> + res_init \
> rfork \
> select \
> sendmsg \
> @@ -1148,7 +1150,7 @@ dnl **** Check for types ****
>
> AC_C_CONST
> AC_C_INLINE
> -AC_CHECK_TYPES([mode_t, off_t, pid_t, size_t, ssize_t])
> +AC_CHECK_TYPES([mode_t, off_t, pid_t, size_t, ssize_t, struct __res_state])
These checks won't work without including the proper headers first.
> +++ wine/dlls/iphlpapi/ipstats.c Sun Oct 12 10:10:28 2003
> @@ -53,37 +53,37 @@
> #include "ifenum.h"
> #include "ipstats.h"
>
> -#ifndef TCPS_ESTABLISHED
> +#if !defined TCPS_ESTABLISHED && defined TCP_ESTABLISHED
TCP_ESTABLISHED etc. values are an enum under Linux, you can't test
them this way.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list