fix for building collada on linux

This commit is contained in:
2011-03-23 15:07:30 +00:00
parent 3c45a2d298
commit 66670b8f7f

View File

@@ -26,6 +26,8 @@
* \ingroup collada
*/
#include <stddef.h>
#include "BLI_string.h"
#include "ExtraHandler.h"
@@ -49,7 +51,7 @@ bool ExtraHandler::elementEnd(const char* elementName )
bool ExtraHandler::textData(const char* text, size_t textLength)
{
char buf[1024] = {0};
_snprintf(buf, textLength, "%s", text);
BLI_snprintf(buf, textLength, "%s", text);
printf("data: %s\n", buf);
return true;
}