...
 
Commits (1)
  • Rob Swindell's avatar
    MSVC-Build with cryptlib/SSH support. · bf6e2f05
    Rob Swindell authored
    The calls to cryptlib are still broken, so that's a to-do item.
    e.g. calling cryptstatuSOK() in st_crypt.c init_crypt() throws an
    exception:
    "Run-Time Check Failure #0 - The value of ESP was not properly saved across a
    function call.  This is usually a result of calling a function declared with
    one calling convention with a function pointer declared with a different
    calling convention."
    bf6e2f05
......@@ -45,6 +45,7 @@
<Import Project="..\build\sdl.props" />
<Import Project="..\encode\encode.props" />
<Import Project="..\hash\hash.props" />
<Import Project="..\..\3rdp\win32.release\cryptlib\cryptlib.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
......@@ -58,6 +59,7 @@
<Import Project="..\build\sdl.props" />
<Import Project="..\encode\encode.props" />
<Import Project="..\hash\hash.props" />
<Import Project="..\..\3rdp\win32.release\cryptlib\cryptlib.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
......@@ -72,7 +74,7 @@
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;WITHOUT_CRYPTLIB;TELNET_NO_DLL;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;TELNET_NO_DLL;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\sbbs3;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
......@@ -90,7 +92,7 @@
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;WITHOUT_CRYPTLIB;TELNET_NO_DLL;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;TELNET_NO_DLL;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\sbbs3;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
</ClCompile>
......@@ -126,6 +128,8 @@
<ClCompile Include="ooii_sounds.c" />
<ClCompile Include="ripper.c" />
<ClCompile Include="rlogin.c" />
<ClCompile Include="ssh.c" />
<ClCompile Include="st_crypt.c" />
<ClCompile Include="syncterm.c" />
<ClCompile Include="telnet_io.c" />
<ClCompile Include="term.c" />
......