From e34cbcd9a2c5322d0d2f359a6418e411c980db94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wolfgang=20St=C3=B6ggl?= Date: Mon, 28 Jan 2019 21:15:05 +0100 Subject: [PATCH] Define HAVE_ASPRINTF and HAVE_VASPRINTF (MSVC) - asprintf.c and vasprintf-msvc.c are compiled in MSVC builds, so define HAVE_ASPRINTF and HAVE_VASPRINTF in win32/rrd_config.h --- win32/rrd_config.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/win32/rrd_config.h b/win32/rrd_config.h index b2bd7c91..62fac45f 100644 --- a/win32/rrd_config.h +++ b/win32/rrd_config.h @@ -52,6 +52,9 @@ # endif #endif +/* Define to 1 if you have the `asprintf' function. */ +#define HAVE_ASPRINTF 1 + /* Define to 1 if you have the `chdir' function. */ #define HAVE_CHDIR 1 @@ -100,6 +103,9 @@ /* Define to 1 if you have the `uintptr_t' standard type. */ #define HAVE_UINTPTR_T 1 +/* Define to 1 if you have the `vasprintf' function. */ +#define HAVE_VASPRINTF 1 + /* Misc Missing Windows defines */ #undef PATH_MAX /* PATH_MAX is defined in win32/dirent.h too. Relevant, if included before rrd_config.h */ #define PATH_MAX 1024 -- 2.47.2