Skip to content

Commit 42d4c34

Browse files
Fix compilation using md5 in Sloeber
This issue: Sloeber/arduino-eclipse-plugin#1028 has a known fix: Sloeber/arduino-eclipse-plugin#1028 (comment) This commit will add the patch to the existing sources.
1 parent 0f77227 commit 42d4c34

File tree

1 file changed

+3
-1
lines changed
  • tools/sdk/include/mbedtls/mbedtls

1 file changed

+3
-1
lines changed

tools/sdk/include/mbedtls/mbedtls/md5.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
#if !defined(MBEDTLS_CONFIG_FILE)
3232
#include "config.h"
3333
#else
34-
#include MBEDTLS_CONFIG_FILE
34+
#define VAL(str) #str
35+
#define TOSTRING(str) VAL(str)
36+
#include TOSTRING(MBEDTLS_CONFIG_FILE)
3537
#endif
3638

3739
#include <stddef.h>

0 commit comments

Comments
 (0)