Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
4438b2a0
Commit
4438b2a0
authored
Jul 09, 2015
by
Nick Mathewson
👁
Browse files
More windows header stuff. Will it work this time?
parent
f19a75e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
4438b2a0
...
...
@@ -335,11 +335,25 @@ bwin32=true; AC_MSG_RESULT([yes]),
bwin32=false; AC_MSG_RESULT([no]))
fi
if test "$bwin32" = true; then
AC_DEFINE(WIN32_LEAN_AND_MEAN, 1, [Defined to avoid including some windows headers])
AC_DEFINE(WINVER, 0x0501, [Defined to access windows functions and definitions for >=WinXP])
AC_DEFINE(_WIN32_WINNT, 0x0501, [Defined to access windows functions and definitions for >=WinXP])
fi
AH_BOTTOM([
#ifdef _WIN32
/* Defined to access windows functions and definitions for >=WinXP */
# ifndef WINVER
# 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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment