mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-09 21:44:28 +00:00
Fixing test_clang_opt (asm not defined)
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
parent
d854083773
commit
90f304ff1a
@ -47,7 +47,6 @@
|
|||||||
*
|
*
|
||||||
* Used in:
|
* Used in:
|
||||||
* library/aria.c
|
* library/aria.c
|
||||||
* library/timing.c
|
|
||||||
* library/bn_mul.h
|
* library/bn_mul.h
|
||||||
*
|
*
|
||||||
* Required by:
|
* Required by:
|
||||||
|
@ -38,10 +38,6 @@
|
|||||||
#error "This module only works on Unix and Windows, see MBEDTLS_TIMING_C in config.h"
|
#error "This module only works on Unix and Windows, see MBEDTLS_TIMING_C in config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef asm
|
|
||||||
#define asm __asm
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
|
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
@ -77,6 +77,10 @@ int main( void )
|
|||||||
|
|
||||||
#include "mbedtls/error.h"
|
#include "mbedtls/error.h"
|
||||||
|
|
||||||
|
#ifndef asm
|
||||||
|
#define asm __asm
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
|
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user