1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 04:25:10 -07:00

__declspec() / __attribute__(()) shouldn't come before "typedef"

This commit is contained in:
Frank Denis 2015-02-17 17:38:54 +01:00
parent a2a72d3472
commit ef7d825f1f

View File

@ -21,7 +21,7 @@ extern "C" {
#endif
#pragma pack(push, 1)
CRYPTO_ALIGN(64) typedef struct crypto_generichash_blake2b_state {
typedef CRYPTO_ALIGN(64) struct crypto_generichash_blake2b_state {
uint64_t h[8];
uint64_t t[2];
uint64_t f[2];