
On 03/11/2014 9:43 PM, Vincent Bernat wrote:
Hi!
I just noticed that libsmi 0.5.0 has been released last month but I didn't see any announce here. The changelog being quite verbose is there a short version with major changes (if there is any major change)?
I notice that some definitions in lib/snprintf.h are not protected by #ifdef, even though configure tests for them all. Cygwin won't compile libsmi unless the rest of the entries are #ifdef'ed
Andrew ==================================== --- lib/snprintf.h.20141103 2014-11-03 23:51:19.965497600 +1100 +++ lib/snprintf.h 2014-11-03 23:52:15.358236900 +1100 @@ -45,12 +45,20 @@ extern int vsnprintf (char *str, size_t sz, const char *format, va_list args); #endif
+#ifndef HAVE_ASPRINTF extern int asprintf (char **ret, const char *format, ...); +#endif
+#ifndef HAVE_ASNPRINTF extern int asnprintf (char **ret, size_t max_sz, const char *format, ...); +#endif
+#ifndef HAVE_VASPRINTF extern int vasprintf (char **ret, const char *format, va_list args); +#endif
+#ifndef HAVE_VASNPRINTF extern int vasnprintf (char **ret, size_t max_sz, const char *format, va_list args); +#endif ====================================