X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=oslib%2Fasprintf.c;h=969479faf4f41cd9fd7f2e156508372cdf89abcc;hp=f1e7fd2338f664af29204a7287c5ca3750c644da;hb=cb3b68068d4688c4ac9f6d1bf169010f0ce8fab3;hpb=2e4ef4fbd69eb6d4c07f2f362463e3f3df2e808c diff --git a/oslib/asprintf.c b/oslib/asprintf.c index f1e7fd23..969479fa 100644 --- a/oslib/asprintf.c +++ b/oslib/asprintf.c @@ -3,7 +3,7 @@ #include #include "oslib/asprintf.h" -#ifndef HAVE_VASPRINTF +#ifndef CONFIG_HAVE_VASPRINTF int vasprintf(char **strp, const char *fmt, va_list ap) { va_list ap_copy; @@ -28,7 +28,7 @@ int vasprintf(char **strp, const char *fmt, va_list ap) } #endif -#ifndef HAVE_ASPRINTF +#ifndef CONFIG_HAVE_ASPRINTF int asprintf(char **strp, const char *fmt, ...) { va_list arg;