Fix glibc coupling in test

pull/13171/head
HATATANI Shinta 8 years ago
parent 35e174bf0e
commit 1b4fc46f87
  1. 2
      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)

Loading…
Cancel
Save