diff options
Diffstat (limited to 'lib/util/vasprintf.c')
-rw-r--r-- | lib/util/vasprintf.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/util/vasprintf.c b/lib/util/vasprintf.c index e38252fa..b294763a 100644 --- a/lib/util/vasprintf.c +++ b/lib/util/vasprintf.c @@ -6,6 +6,8 @@ #include <string.h> #include "pm_config.h" +#include "pm_c_util.h" + #include "nstring.h" @@ -56,3 +58,14 @@ pm_vasprintf(const char ** const resultP, } #endif } + + + +bool +pm_vasprintf_knows_float(void) { +#if HAVE_VASPRINTF + return true; +#else + return false; +#endif +} |