Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/eglib
diff options
context:
space:
mode:
authorDolphin Hawkins <dolphin@exitzer0.com>2016-06-23 00:31:05 +0300
committerRodrigo Kumpera <kumpera@gmail.com>2016-07-11 20:23:20 +0300
commit3e0eb1a54c69075faf5da563333b1b40550e82a2 (patch)
treea103cf52d7dc9b0cfa52e281770947124f40d26c /eglib
parent12af7a43ba95051a9f06eedc441225f737b2a05b (diff)
Fixed eglib test build error
Diffstat (limited to 'eglib')
-rw-r--r--eglib/test/test.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/eglib/test/test.c b/eglib/test/test.c
index 6dd7bf47469..7c870e9c766 100644
--- a/eglib/test/test.c
+++ b/eglib/test/test.c
@@ -46,13 +46,6 @@
#include "test.h"
extern gint global_passed, global_tests;
-
-#ifndef HAVE_VASPRINTF
- /* systen does not provide a vasprintf function, use the one
- provided within eglib itself */
-extern int vasprintf(char **ret, const char *format, va_list ap);
-#endif
-
static gchar *last_result = NULL;
gboolean
@@ -183,7 +176,7 @@ FAILED(const gchar *format, ...)
return NULL;
#else
va_start(args, format);
- n = vasprintf(&ret, format, args);
+ n = g_vasprintf(&ret, format, args);
va_end(args);
if(n == -1) {