RTEMS has vsnprintf at least since 4.5.1-pre3

This commit is contained in:
2018-11-16 11:22:45 +01:00
parent fa51c376c1
commit a2fcbc81c8

View File

@ -24,7 +24,7 @@
#include <stdarg.h>
#include <stdlib.h>
#if defined(__vxworks) || defined(vxWorks) || defined(__rtems__)
#if defined(__vxworks) || defined(vxWorks)
// These systems have no vsnprintf
#define vsnprintf(p,l,f,v) vsprintf(p,f,v)
#endif