From 1fa4e15f7e935b06f1fc6bb3613ab1eab7028c61 Mon Sep 17 00:00:00 2001
From: Craig Tiller <craig.tiller@gmail.com>
Date: Fri, 23 Jan 2015 12:00:11 -0800
Subject: [PATCH] Add define

---
 include/grpc/support/string.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/grpc/support/string.h b/include/grpc/support/string.h
index 2ce19036f2..71bd3f84e3 100644
--- a/include/grpc/support/string.h
+++ b/include/grpc/support/string.h
@@ -60,6 +60,9 @@ char *gpr_hexdump(const char *buf, size_t len, gpr_uint32 flags);
 int gpr_parse_bytes_to_uint32(const char *data, size_t length,
                               gpr_uint32 *result);
 
+/* minimum buffer size for calling ltoa */
+#define GPR_LTOA_MIN_BUFSIZE (3 * sizeof(long))
+
 /* Convert a long to a string in base 10; returns the length of the
    output string (or 0 on failure) */
 int gpr_ltoa(long value, char *output);
-- 
GitLab