Fix compile error for 32-bit CRITICAL_SECTION size embedded in mutex (#415)
This commit is contained in:
Родитель
f0c3cbd454
Коммит
0794f13ec7
|
@ -74,7 +74,7 @@ namespace llvm
|
|||
#if 0 // HLSL Change
|
||||
void* data_; ///< We don't know what the data will be
|
||||
#else
|
||||
char data_[40]; // C_ASSERT this is CRITICAL_SECTION-sized
|
||||
char data_[sizeof(void*) == 8 ? 40 : 24]; // C_ASSERT this is CRITICAL_SECTION-sized
|
||||
#endif // HLSL Change
|
||||
#endif
|
||||
|
||||
|
|
|
@ -13,5 +13,7 @@ echo hcttodo - enumerates TODO comments
|
|||
echo hcttools - changes the directory to console tools
|
||||
echo hctvs - launches Visual Studio with the built solution
|
||||
echo.
|
||||
echo Set the HCT_EXTRAS environment variable to allow scripts to be hooked in.
|
||||
echo Environment variables overrides
|
||||
echo BUILD_ARCH - default build architecture, one of Win32, x64, arm, currently '%BUILD_ARCH%'
|
||||
echo HCT_EXTRAS - allows scripts to be hooked in, currently '%HCT_EXTRAS%'
|
||||
echo.
|
||||
|
|
Загрузка…
Ссылка в новой задаче