]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Define HAVE_ASPRINTF and HAVE_VASPRINTF (MSVC)
authorWolfgang Stöggl <c72578@yahoo.de>
Mon, 28 Jan 2019 20:15:05 +0000 (21:15 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Sat, 2 Feb 2019 21:27:50 +0000 (22:27 +0100)
- 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

index b2bd7c91b1adc76ed6a312958ddd5c31bbf6c0c5..62fac45f461b1f7186a10767eaaa9df4dcbc1fb8 100644 (file)
@@ -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
 
 /* 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