diff options
author | cem <cem@FreeBSD.org> | 2016-05-27 05:31:14 +0000 |
---|---|---|
committer | cem <cem@FreeBSD.org> | 2016-05-27 05:31:14 +0000 |
commit | 8a77f2638620033e65c4b8c64877686b40305820 (patch) | |
tree | a371878026a175e065c1572ce5c16cc417f9ba10 | |
parent | a7641ebddb5773b3bc12340adb7ed08ebbae3e3e (diff) | |
download | FreeBSD-src-8a77f2638620033e65c4b8c64877686b40305820.zip FreeBSD-src-8a77f2638620033e65c4b8c64877686b40305820.tar.gz |
libmd: Work around C++'s inability to understand C
Reported by: antoine@ (x265)
-rw-r--r-- | lib/libmd/md5.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libmd/md5.h b/lib/libmd/md5.h index 5ab3b14..1d125a8 100644 --- a/lib/libmd/md5.h +++ b/lib/libmd/md5.h @@ -37,5 +37,13 @@ #endif +#ifdef __cplusplus +#define static +#endif + #include <sys/md5.h> + +#ifdef __cplusplus +#undef static +#endif #endif /* _MD5_H_ */ |