Fixing test_clang_opt (asm not defined)

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
TRodziewicz 2021-06-11 11:56:47 +02:00
parent d854083773
commit 90f304ff1a
3 changed files with 4 additions and 5 deletions

View File

@ -47,7 +47,6 @@
*
* Used in:
* library/aria.c
* library/timing.c
* library/bn_mul.h
*
* Required by:

View File

@ -38,10 +38,6 @@
#error "This module only works on Unix and Windows, see MBEDTLS_TIMING_C in config.h"
#endif
#ifndef asm
#define asm __asm
#endif
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
#include <windows.h>

View File

@ -77,6 +77,10 @@ int main( void )
#include "mbedtls/error.h"
#ifndef asm
#define asm __asm
#endif
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
#include <windows.h>