mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Add missing defines to enable bootstrapping with vc8 toolset.
This commit is contained in:
committed by
Vladimir Prus
parent
cc6db334bc
commit
04553d1ed4
@@ -365,7 +365,7 @@ if NOT "_%BOOST_JAM_TOOLSET_ROOT%_" == "__" (
|
||||
if "_%VCINSTALLDIR%_" == "__" (
|
||||
set "PATH=%BOOST_JAM_TOOLSET_ROOT%bin;%PATH%"
|
||||
) )
|
||||
set "BOOST_JAM_CC=cl /nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG -wd4996 kernel32.lib advapi32.lib user32.lib"
|
||||
set "BOOST_JAM_CC=cl /nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -DNT -DYYDEBUG -wd4996 kernel32.lib advapi32.lib user32.lib"
|
||||
set "BOOST_JAM_OPT_JAM=/Febootstrap\jam0"
|
||||
set "BOOST_JAM_OPT_MKJAMBASE=/Febootstrap\mkjambase0"
|
||||
set "BOOST_JAM_OPT_YYACC=/Febootstrap\yyacc0"
|
||||
|
||||
@@ -38,7 +38,19 @@
|
||||
*/
|
||||
#include <winioctl.h>
|
||||
#endif
|
||||
|
||||
/* With VC8 (VS2005) these are not defined:
|
||||
* FSCTL_GET_REPARSE_POINT (expects WINVER >= 0x0500 _WIN32_WINNT >= 0x0500 )
|
||||
* IO_REPARSE_TAG_SYMLINK (is part of a separate Driver SDK)
|
||||
* So define them explicitily to their expected values.
|
||||
*/
|
||||
#ifndef FSCTL_GET_REPARSE_POINT
|
||||
# define FSCTL_GET_REPARSE_POINT 0x000900a8
|
||||
#endif
|
||||
#ifndef IO_REPARSE_TAG_SYMLINK
|
||||
# define IO_REPARSE_TAG_SYMLINK (0xA000000CL)
|
||||
#endif
|
||||
#endif /* OS_NT */
|
||||
|
||||
#if defined(USE_EXECUNIX)
|
||||
# include <sys/types.h>
|
||||
|
||||
Reference in New Issue
Block a user