mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
define SYS_getrandom on linux arm64 (#5378)
This commit is contained in:
parent
4d2b52d4d1
commit
3a238400ac
1 changed files with 3 additions and 1 deletions
|
|
@ -34,10 +34,12 @@
|
|||
* wheels, since that's the predominant way you get a situation where
|
||||
* you don't have SYS_getrandom at compile time but do have the syscall
|
||||
* at runtime */
|
||||
#if defined __x86_64__
|
||||
#if defined(__x86_64__)
|
||||
#define SYS_getrandom 318
|
||||
#elif defined(__i386__)
|
||||
#define SYS_getrandom 355
|
||||
#elif defined(__aarch64__)
|
||||
#define SYS_getrandom 278
|
||||
#endif
|
||||
#endif
|
||||
#endif /* __linux__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue