From fa4bd9e7a8ef22c711f1b4dd17ccd991c7661657 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Mon, 5 Mar 2012 16:06:15 +0100 Subject: [PATCH] Forgot to add extern "C" to sscanf. --- libmaxsi/io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmaxsi/io.cpp b/libmaxsi/io.cpp index 217196a5..c94ca1c7 100644 --- a/libmaxsi/io.cpp +++ b/libmaxsi/io.cpp @@ -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 ) {