1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-12-22 05:58:07 +00:00

Fix build.

This commit is contained in:
Andrei KISARI 2023-06-22 15:14:05 +03:00
parent 4f182b2c11
commit 455286ca13

View File

@ -15,6 +15,7 @@
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
#if _MSC_VER
int nd_vsnprintf_s(char *buffer, size_t size, size_t count, const char *format, va_list argptr)
{
return vsnprintf(buffer, size, format, argptr);
@ -24,6 +25,7 @@ void * nd_memset(void *s, int c, size_t n)
{
return memset(s, c, n);
}
#endif
void nd_get_version(ND_UINT32 *major, ND_UINT32 *minor, ND_UINT32 *revision, char **build_date, char **build_time)
{