Skip to content

Commit

Permalink
Update linker dependencies to include legacy_stdio_definitions.lib fo…
Browse files Browse the repository at this point in the history
…r Win32 builds
  • Loading branch information
andrewmcwatters committed Dec 15, 2024
1 parent ee1943f commit 1ed8bd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mp/src/game/client/client_base.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ $Configuration
$SystemFrameworks "Carbon" [$OSXALL]
$SystemLibraries "rt" [$LINUXALL]
$IgnoreImportLibrary "TRUE"
$AdditionalDependencies "$BASE winmm.lib" [$WIN32]
$AdditionalDependencies "$BASE winmm.lib legacy_stdio_definitions.lib" [$WIN32]
$AdditionalDependencies "$BASE wsock32.lib Ws2_32.lib" [$BUILD_REPLAY]
$ForceFileOutput "Multiply Defined Symbol Only (/FORCE:MULTIPLE)" [$VS2022]
}
}

Expand Down
2 changes: 1 addition & 1 deletion mp/src/game/server/server_base.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $Configuration

$Linker
{
$AdditionalDependencies "$BASE winmm.lib" [$WIN32]
$AdditionalDependencies "$BASE winmm.lib legacy_stdio_definitions.lib" [$WIN32]
$SystemLibraries "iconv" [$OSXALL]
}
}
Expand Down

0 comments on commit 1ed8bd4

Please sign in to comment.