Now only compiles full EIP-712 support for capable devices

This commit is contained in:
Alexandre Paillier
2022-05-16 10:59:20 +02:00
parent b9820774ba
commit 2fa6379470
26 changed files with 109 additions and 6 deletions

View File

@@ -1,6 +1,8 @@
#ifndef MEM_UTILS_H_
#define MEM_UTILS_H_
#ifdef HAVE_EIP712_FULL_SUPPORT
#include <stdint.h>
#include <stdbool.h>
@@ -11,4 +13,6 @@ void *mem_alloc_and_copy(const void *data, size_t size);
char *mem_alloc_and_format_uint(uint32_t value, uint8_t *const written_chars);
void *mem_alloc_and_align(size_t size, size_t alignment);
#endif // HAVE_EIP712_FULL_SUPPORT
#endif // MEM_UTILS_H_