1
0
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:
Pavol Rusnak 2017-04-02 02:54:46 +02:00
parent a8aacac6be
commit 3d04064384
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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