Skip to content

Commit

Permalink
Merge pull request #90691 from Faless/fix/mbedtls_core_config_mingw
Browse files Browse the repository at this point in the history
mbedTLS: Fix build without the module on MinGW
  • Loading branch information
akien-mga committed Apr 15, 2024
2 parents 8a3195e + 060097b commit 4728ff3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions thirdparty/mbedtls/include/godot_core_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,11 @@
#define MBEDTLS_PLATFORM_ZEROIZE_ALT
#define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES

// This is only to pass a check in the mbedtls check_config.h header, none of
// the files we include as part of the core build uses it anyway, we already
// define MBEDTLS_PLATFORM_ZEROIZE_ALT which is the only relevant function.
#if defined(__MINGW32__)
#define MBEDTLS_PLATFORM_C
#endif

#endif // GODOT_CORE_MBEDTLS_CONFIG_H

0 comments on commit 4728ff3

Please sign in to comment.