Forgot to add extern "C" to sscanf.
This commit is contained in:
parent
c03738a9f3
commit
fa4bd9e7a8
|
@ -121,7 +121,7 @@ namespace Maxsi
|
||||||
|
|
||||||
// TODO: This is an ugly hack to help build binutils.
|
// TODO: This is an ugly hack to help build binutils.
|
||||||
#warning Ugly sscanf 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 )
|
if ( strcmp(format, "%x") != 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue