mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
More windows header stuff. Will it work this time?
This commit is contained in:
parent
f19a75e19b
commit
4438b2a0e3
24
configure.ac
24
configure.ac
@ -335,11 +335,25 @@ bwin32=true; AC_MSG_RESULT([yes]),
|
|||||||
bwin32=false; AC_MSG_RESULT([no]))
|
bwin32=false; AC_MSG_RESULT([no]))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$bwin32" = true; then
|
AH_BOTTOM([
|
||||||
AC_DEFINE(WIN32_LEAN_AND_MEAN, 1, [Defined to avoid including some windows headers])
|
#ifdef _WIN32
|
||||||
AC_DEFINE(WINVER, 0x0501, [Defined to access windows functions and definitions for >=WinXP])
|
/* Defined to access windows functions and definitions for >=WinXP */
|
||||||
AC_DEFINE(_WIN32_WINNT, 0x0501, [Defined to access windows functions and definitions for >=WinXP])
|
# ifndef WINVER
|
||||||
fi
|
# define WINVER 0x0501
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* Defined to access _other_ windows functions and definitions for >=WinXP */
|
||||||
|
# ifndef _WIN32_WINNT
|
||||||
|
# define _WIN32_WINNT 0x0501
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* Defined to avoid including some windows headers as part of Windows.h */
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN 1
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_NT_SERVICES, test x$bwin32 = xtrue)
|
AM_CONDITIONAL(BUILD_NT_SERVICES, test x$bwin32 = xtrue)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user