about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/HISTORY8
-rw-r--r--pm_config.in.h2
2 files changed, 7 insertions, 3 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index b0445362..442c3988 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -6,8 +6,12 @@ CHANGE HISTORY
 
 not yet  BJH  Release 10.69.00
 
-              Fix %g in messages where platform doesn't have vasprintf.
-              (But scores of %f are still left).
+              NetBSD: show actual numbers in messages instead of "f" or
+              no information, by using NetBSD's vasprintf.
+
+              Make %g in messages display the actual number instead of "g" in
+              messages where platform doesn't have vasprintf.  (But scores of
+              %f are still left).
 
               anytopnm: convert all images in a multi-image GIF instead of
               just the first.
diff --git a/pm_config.in.h b/pm_config.in.h
index ed1ebb89..1e54f06e 100644
--- a/pm_config.in.h
+++ b/pm_config.in.h
@@ -139,7 +139,7 @@
 
 /* #define HAVE_SETMODE */
 
-#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__))
+#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__)) || defined(__NetBSD__)
   #define HAVE_VASPRINTF 1
 #else
   #define HAVE_VASPRINTF 0