| 23 | |
| 24 | #if _MSC_VER < 1900 |
| 25 | static int snprintf(char *str, size_t size, const char *format, ...) |
| 26 | { |
| 27 | va_list ap; |
| 28 | int ret; |
| 29 | |
| 30 | va_start(ap, format); |
| 31 | ret = vsnprintf(str, size, format, ap); |
| 32 | va_end(ap); |
| 33 | return ret; |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * Almost POSIX compliant implementation of \c vsnprintf for VC compiler. |
no test coverage detected