mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-06-24 01:41:35 +03:00
@ -83,9 +83,15 @@ typedef uint64_t __packed mbedtls_uint64_unaligned_t;
|
||||
* We don't enable for older than 4.5.0 as this has not been tested.
|
||||
*/
|
||||
#define UINT_UNALIGNED_STRUCT
|
||||
typedef struct { uint16_t x; } __attribute__((packed)) mbedtls_uint16_unaligned_t;
|
||||
typedef struct { uint32_t x; } __attribute__((packed)) mbedtls_uint32_unaligned_t;
|
||||
typedef struct { uint64_t x; } __attribute__((packed)) mbedtls_uint64_unaligned_t;
|
||||
typedef struct {
|
||||
uint16_t x;
|
||||
} __attribute__((packed)) mbedtls_uint16_unaligned_t;
|
||||
typedef struct {
|
||||
uint32_t x;
|
||||
} __attribute__((packed)) mbedtls_uint32_unaligned_t;
|
||||
typedef struct {
|
||||
uint64_t x;
|
||||
} __attribute__((packed)) mbedtls_uint64_unaligned_t;
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user