Forgot to add extern "C" to sscanf.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-05 16:06:15 +01:00
parent c03738a9f3
commit fa4bd9e7a8
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ namespace Maxsi
// TODO: This is an ugly hack to help build binutils.
#warning Ugly sscanf hack to help build binutils
extern int sscanf(const char* s, const char* format, ...)
extern "C" int sscanf(const char* s, const char* format, ...)
{
if ( strcmp(format, "%x") != 0 )
{