Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 7039c7b

Browse files
authored
Fix one of the compiler errors
1 parent ecf7985 commit 7039c7b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

public/tier1/convar.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
1+
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
22
//
33
// Purpose:
44
//
@@ -16,6 +16,9 @@
1616
#pragma once
1717
#endif
1818

19+
// This is for fixing "error LNK2019: unresolved external symbol _sscanf referenced in ConVar::InternalSetColorFromString"
20+
#pragma comment (lib, "legacy_stdio_definitions.lib")
21+
1922
#include "tier0/dbg.h"
2023
#include "tier1/iconvar.h"
2124
#include "tier1/utlvector.h"

0 commit comments

Comments
 (0)