diff options
Diffstat (limited to 'source/blender/collada/ExtraHandler.cpp')
-rw-r--r-- | source/blender/collada/ExtraHandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/collada/ExtraHandler.cpp b/source/blender/collada/ExtraHandler.cpp index 8aafccd3734..deec22fac04 100644 --- a/source/blender/collada/ExtraHandler.cpp +++ b/source/blender/collada/ExtraHandler.cpp @@ -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; } |