Enabled g_mem_set_vtable through the configure option --with-overridable-allocators...
[mono.git] / eglib / src / vasprintf.h
index 3d294541a5b067ecfc647734550f65861026f5df..74ea6ae790c70f06e0c30ba4609f9d914a9e235a 100644 (file)
@@ -2,10 +2,9 @@
 #define __VASPRINTF_H
 
 #include <stdarg.h>
-#include <config.h>
 
-#ifndef HAVE_VASPRINTF
-int vasprintf(char **ret, const char *fmt, va_list ap);
+#if !defined (HAVE_VASPRINTF) || defined (G_OVERRIDABLE_ALLOCATORS)
+int g_vasprintf(char **ret, const char *fmt, va_list ap);
 #endif
 
 #endif /* __VASPRINTF_H */