Merge pull request #10615 from andrewc-arm/patch_cc1

This allows CPP application to use the functions from cc.h.
pull/10623/head
Martin Kojtal 2019-05-21 08:42:07 +01:00 committed by GitHub
commit 85d72bafeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -40,6 +40,9 @@
#include "mbedtls/md5.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* ARM/LPC17xx is little endian only */
#if !defined(BYTE_ORDER) || (BYTE_ORDER != LITTLE_ENDIAN && BYTE_ORDER != BIG_ENDIAN)
@ -180,4 +183,8 @@ SET_MEMP_SECTION(memp_memory_PPP_PCB_base);
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif /* __CC_H__ */