Author: cem Date: Fri May 27 05:31:14 2016 New Revision: 300824 URL: https://svnweb.freebsd.org/changeset/base/300824
Log: libmd: Work around C++'s inability to understand C Reported by: antoine@ (x265) Modified: head/lib/libmd/md5.h Modified: head/lib/libmd/md5.h ============================================================================== --- head/lib/libmd/md5.h Fri May 27 04:34:42 2016 (r300823) +++ head/lib/libmd/md5.h Fri May 27 05:31:14 2016 (r300824) @@ -37,5 +37,13 @@ #endif +#ifdef __cplusplus +#define static +#endif + #include <sys/md5.h> + +#ifdef __cplusplus +#undef static +#endif #endif /* _MD5_H_ */ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"