]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: fix building with both md4 and md5 in unity mode
authorViktor Szakats <commit@vsz.me>
Tue, 21 May 2024 20:31:12 +0000 (22:31 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 22 May 2024 12:16:40 +0000 (14:16 +0200)
commitca8cb245e172446507b887ca5b22a04b5b824179
tree21306faf91b87a08058b5c5c46c188d66e067075
parent4cc5657247183a0bc3b0969beeaea9acddb09d22
cmake: fix building with both md4 and md5 in unity mode

Macro and static function names were colliding between
`lib/md4.c` and
`lib/md5.c`.

Fix it by namespacing these symbols.

Seen with a basic macOS build using these options:
`-DCMAKE_UNITY_BUILD=ON -DCURL_USE_SECTRANSP=ON`

Closes #13737
lib/md4.c
lib/md5.c