# HG changeset patch # User Ryan Dwyer <ryanpdwyer@gmail.com> # Date 1429634474 14400 # Tue Apr 21 12:41:14 2015 -0400 # Node ID 1082d2225d6a791c864568c3832caa8a2ace7222 # Parent 8a73323cd97be1d11993d1a750b8f996af4daffe Modified __GNUC__ vsnprintf prototype declaration to exclude OSX diff --git a/bstrlib.c b/bstrlib.c --- a/bstrlib.c +++ b/bstrlib.c @@ -2755,7 +2755,7 @@ #define START_VSNBUFF (256) #else -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__APPLE__) /* Something is making gcc complain about this prototype not being here, so I've just gone ahead and put it in. */ extern int vsnprintf (char *buf, size_t count, const char *format, va_list arg);