mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-12 18:49:07 +00:00
don't skip const if not using gcc
This commit is contained in:
parent
a8aacac6be
commit
3d04064384
@ -21,7 +21,7 @@ void ed25519_sign(const unsigned char *m, size_t mlen, const ed25519_secret_key
|
||||
void curve25519_scalarmult(curve25519_key mypublic, const curve25519_key secret, const curve25519_key basepoint);
|
||||
void curve25519_scalarmult_basepoint(curve25519_key mypublic, const curve25519_key secret);
|
||||
|
||||
#if __GNUC__ > 4
|
||||
#if !defined(__GNUC__) || __GNUC__ > 4
|
||||
#define CONST const
|
||||
#else
|
||||
#define CONST
|
||||
|
Loading…
Reference in New Issue
Block a user