From: Wolfgang Stöggl Date: Mon, 28 Jan 2019 20:15:05 +0000 (+0100) Subject: Define HAVE_ASPRINTF and HAVE_VASPRINTF (MSVC) X-Git-Tag: v1.7.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e34cbcd9a2c5322d0d2f359a6418e411c980db94;p=thirdparty%2Frrdtool-1.x.git 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 --- 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