mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-05-27 05:21:06 +03:00
Merge pull request #6869 from davidhorstmann-arm/2.28-workaround-uncrustify-asm-defines
[Backport 2.28] Workaround Uncrustify parsing of "asm"
This commit is contained in:
commit
d1a96b6b99
@ -86,9 +86,11 @@
|
||||
|
||||
#if defined(MBEDTLS_HAVE_ASM)
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
#ifndef asm
|
||||
#define asm __asm
|
||||
#endif
|
||||
/* *INDENT-ON* */
|
||||
|
||||
/* armcc5 --gnu defines __GNUC__ but doesn't support GNU's extended asm */
|
||||
#if defined(__GNUC__) && \
|
||||
|
@ -36,9 +36,11 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
#ifndef asm
|
||||
#define asm __asm
|
||||
#endif
|
||||
/* *INDENT-ON* */
|
||||
|
||||
#if defined(MBEDTLS_HAVE_X86_64)
|
||||
|
||||
|
@ -31,9 +31,11 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
#ifndef asm
|
||||
#define asm __asm
|
||||
#endif
|
||||
/* *INDENT-ON* */
|
||||
|
||||
#if defined(MBEDTLS_HAVE_X86)
|
||||
|
||||
|
@ -33,9 +33,11 @@
|
||||
#error "This module only works on Unix and Windows, see MBEDTLS_TIMING_C in config.h"
|
||||
#endif
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
#ifndef asm
|
||||
#define asm __asm
|
||||
#endif
|
||||
/* *INDENT-ON* */
|
||||
|
||||
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user