freebsd-ports/net/ulxmlrpcpp/files/patch-ulxmlrpcpp-ulxmlrpcpp.h
Martin Wilke 831f19a62d - Fix build with gcc 4.1
Submitted by:	pointyhat via kris
Thanks to:      trasz for fix
2007-01-27 13:47:47 +00:00

11 lines
323 B
C++

--- ulxmlrpcpp/ulxmlrpcpp.h.orig Sat Jan 27 12:57:48 2007
+++ ulxmlrpcpp/ulxmlrpcpp.h Sat Jan 27 12:58:07 2007
@@ -743,7 +743,7 @@
#if defined(__CYGWIN__)
# define ulxr_snprintf snprintf
#else
-# define ulxr_snprintf std::snprintf
+# define ulxr_snprintf snprintf
#endif
# define ulxr_swprintf std::swprintf