Forgot to add extern "C" linkage to mktemp(3).
This commit is contained in:
parent
5449ae78f4
commit
7082ac4ac9
|
@ -320,7 +320,7 @@ namespace Maxsi
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: This is a hacky implementation of a stupid function.
|
// 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);
|
size_t templlen = strlen(templ);
|
||||||
for ( size_t i = templlen-6UL; i < templlen; i++ )
|
for ( size_t i = templlen-6UL; i < templlen; i++ )
|
||||||
|
|
Loading…
Reference in New Issue