diff --git a/deps/mbedtls/ripemd160.c b/deps/mbedtls/ripemd160.c index 054b2b993e..20080d4fba 100644 --- a/deps/mbedtls/ripemd160.c +++ b/deps/mbedtls/ripemd160.c @@ -136,11 +136,21 @@ void mbedtls_ripemd160_process( mbedtls_ripemd160_context *ctx, const unsigned c D = Dp = ctx->state[3]; E = Ep = ctx->state[4]; #undef F1 +#ifndef F1 #define F1( x, y, z ) ( x ^ y ^ z ) +#endif +#ifndef F2 #define F2( x, y, z ) ( ( x & y ) | ( ~x & z ) ) +#endif +#ifndef F3 #define F3( x, y, z ) ( ( x | ~y ) ^ z ) +#endif +#ifndef F4 #define F4( x, y, z ) ( ( x & z ) | ( y & ~z ) ) +#endif +#ifndef F5 #define F5( x, y, z ) ( x ^ ( y | ~z ) ) +#endif #undef S #define S( x, n ) ( ( x << n ) | ( x >> (32 - n) ) ) #undef P diff --git a/pkg/apple/RetroArch.xcodeproj/project.pbxproj b/pkg/apple/RetroArch.xcodeproj/project.pbxproj index c7770b1612..2c059921bf 100644 --- a/pkg/apple/RetroArch.xcodeproj/project.pbxproj +++ b/pkg/apple/RetroArch.xcodeproj/project.pbxproj @@ -498,6 +498,7 @@ ONLY_ACTIVE_ARCH = NO; OTHER_CFLAGS = ( "-DHAVE_RUNAHEAD", + "-DHAVE_SSL", "-DHAVE_GRIFFIN", "-DHAVE_FLAC", "-DHAVE_DR_FLAC", @@ -560,6 +561,7 @@ MACOSX_DEPLOYMENT_TARGET = 10.5; OTHER_CFLAGS = ( "-DHAVE_RUNAHEAD", + "-DHAVE_SSL", "-DHAVE_GRIFFIN", "-DHAVE_FLAC", "-DHAVE_DR_FLAC",