Skip to content
Snippets Groups Projects
Commit e024987d authored by rswindell's avatar rswindell
Browse files

New MSVC property sheet for Multi-threaded XPDEV builds and usage:

defines XPDEV_THREAD_SAFE (not currently used in Windows builds) and
LINK_LIST_THREADSAFE (notice the inconsistent use of underscore :-)
Use of this property sheet fixes the problem with the terminal server global
variable 'uptime' getting corrupted when jsrt_GetNew() called listInit() from
js_rtpool.c which didn't #include sbbs.h and therefore had a different idea
about the size of link_list_t and thus corrupted the global data region
(zeroing out the 'uptime' variable, probably amonst other important things).
parent cc3a479d
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@
<Import Project="..\..\3rdp\win32.release\mozjs\mozjs.props" />
<Import Project="..\comio\comio.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
......@@ -48,6 +49,7 @@
<Import Project="..\..\3rdp\win32.release\mozjs\mozjs.props" />
<Import Project="..\comio\comio.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
......
......@@ -38,6 +38,7 @@
<Import Project="..\comio\comio.props" />
<Import Project="..\build\undeprecate.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
......@@ -48,6 +49,7 @@
<Import Project="..\comio\comio.props" />
<Import Project="..\build\undeprecate.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
......
......@@ -39,6 +39,7 @@
<Import Project="..\comio\comio.props" />
<Import Project="..\build\undeprecate.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
......@@ -50,6 +51,7 @@
<Import Project="..\comio\comio.props" />
<Import Project="..\build\undeprecate.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
......
......@@ -38,6 +38,7 @@
<Import Project="..\comio\comio.props" />
<Import Project="..\build\undeprecate.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
......@@ -48,6 +49,7 @@
<Import Project="..\comio\comio.props" />
<Import Project="..\build\undeprecate.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
......
......@@ -38,6 +38,7 @@
<Import Project="..\comio\comio.props" />
<Import Project="..\build\undeprecate.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
......@@ -48,6 +49,7 @@
<Import Project="..\comio\comio.props" />
<Import Project="..\build\undeprecate.props" />
<Import Project="..\build\target_ia32.props" />
<Import Project="..\xpdev\xpdev_mt.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment