Skip to content

Commit 0ef2531

Browse files
committed
Buildfix
1 parent a906492 commit 0ef2531

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • libretro-common/utils

libretro-common/utils/md5.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
* compile-time configuration.
3636
*/
3737

38-
+/* On Apple platforms MD5 is provided by CommonCrypto, and lrc_hash.h
39-
+ * aliases MD5_CTX / MD5_Init / MD5_Update / MD5_Final to the CC_*
40-
+ * equivalents. The Solar Designer implementation below pokes at
41-
+ * struct members (a, b, c, d, block) that do not exist on
42-
+ * CC_MD5state_st, so it must be skipped entirely on Apple. */
43-
+#ifndef __APPLE__
38+
/* On Apple platforms MD5 is provided by CommonCrypto, and lrc_hash.h
39+
* aliases MD5_CTX / MD5_Init / MD5_Update / MD5_Final to the CC_*
40+
* equivalents. The Solar Designer implementation below pokes at
41+
* struct members (a, b, c, d, block) that do not exist on
42+
* CC_MD5state_st, so it must be skipped entirely on Apple. */
43+
#ifndef __APPLE__
4444

4545
#include <lrc_hash.h>
4646

0 commit comments

Comments
 (0)