From 25c4c78e2ddad482dfc9d5a104f76325fcc2f8e5 Mon Sep 17 00:00:00 2001 From: Jason Copenhaver Date: Fri, 16 Jan 2015 16:50:24 -0300 Subject: Fix compiler warnings on Cygwin and Mac OS X. * Don't use PIE/PIC on Cygwin/Darwin unless specified as these platforms don't support it. * Cleanup warnings for 'make check' build. * Fix the type issue for getsockopt calls. * Fix enum warnings in Yahoo libs on Mac OS X. --- protocols/yahoo/yahoo_util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols/yahoo/yahoo_util.h') diff --git a/protocols/yahoo/yahoo_util.h b/protocols/yahoo/yahoo_util.h index 1f55e064..6099bf8f 100644 --- a/protocols/yahoo/yahoo_util.h +++ b/protocols/yahoo/yahoo_util.h @@ -47,6 +47,9 @@ # endif # define snprintf g_snprintf +#ifdef vsnprintf +#undef vsnprintf +#endif # define vsnprintf g_vsnprintf #else -- cgit v1.2.3