Forgot to add extern "C" linkage to mktemp(3).

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-05 13:05:45 +01:00
parent 5449ae78f4
commit 7082ac4ac9
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ namespace Maxsi
}
// TODO: This is a hacky implementation of a stupid function.
char* mktemp(char* templ)
extern "C" char* mktemp(char* templ)
{
size_t templlen = strlen(templ);
for ( size_t i = templlen-6UL; i < templlen; i++ )