Commit 6bdd8c0a authored by Lev Walkin's avatar Lev Walkin

vasnprintf for Solaris

parent 85d7a1b3
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "asn1_buffer.h" #include "asn1_buffer.h"
#ifndef HAVE_DECL_VASPRINTF #if !defined(HAVE_DECL_VASPRINTF) || (HAVE_DECL_VASPRINTF == 0)
int vasprintf(char **ret, const char *fmt, va_list args); int vasprintf(char **ret, const char *fmt, va_list args);
#endif #endif
...@@ -139,7 +139,7 @@ int abuf_vprintf(abuf *ab, const char *fmt, va_list ap) { ...@@ -139,7 +139,7 @@ int abuf_vprintf(abuf *ab, const char *fmt, va_list ap) {
return ret; return ret;
} }
#ifndef HAVE_DECL_VASPRINTF #if !defined(HAVE_DECL_VASPRINTF) || (HAVE_DECL_VASPRINTF == 0)
/* Solaris doesn't have vasprintf(3). */ /* Solaris doesn't have vasprintf(3). */
int int
vasprintf(char **ret, const char *fmt, va_list args) { vasprintf(char **ret, const char *fmt, va_list args) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment