From 1b4fc46f87636ac3b9d6a8690acaa7e1537a0977 Mon Sep 17 00:00:00 2001 From: HATATANI Shinta Date: Sun, 13 Nov 2016 13:42:57 +0900 Subject: [PATCH] Fix glibc coupling in test --- tests/pb/test_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pb/test_decoder.cc b/tests/pb/test_decoder.cc index d272ea53aa..49544b2fa2 100644 --- a/tests/pb/test_decoder.cc +++ b/tests/pb/test_decoder.cc @@ -111,7 +111,7 @@ using std::string; void vappendf(string* str, const char *format, va_list args) { va_list copy; - __va_copy(copy, args); + _upb_va_copy(copy, args); int count = vsnprintf(NULL, 0, format, args); if (count >= 0)