[Mesa-dev] [PATCH 1/2] util: add util_vasprintf() for Windows (v2)

2017-09-27 Thread Brian Paul
We don't have vasprintf() on Windows so we need to implement it ourselves. v2: compute actual length of output string, per Nicolai Hähnle. --- src/util/u_string.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/src/util/u_string.h b/src/util/u_string.h index e88e13f..4

[Mesa-dev] [PATCH 1/2] util: add util_vasprintf() for Windows (v2)

2017-09-25 Thread Brian Paul
We don't have vasprintf() on Windows so we need to implement it ourselves. v2: compute actual length of output string, per Nicolai Hähnle. --- src/util/u_string.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/src/util/u_string.h b/src/util/u_string.h index e88e13f..4