mirror of
https://github.com/status-im/nim-keccak-tiny.git
synced 2025-03-01 14:40:32 +00:00
Add comment explaining the when statement.
This commit is contained in:
parent
f0ef87420c
commit
590d363e21
@ -1,4 +1,7 @@
|
||||
{.compile: "keccak-tiny/keccak-tiny.c".}
|
||||
#Keccak-Tiny should be compiled for C99.
|
||||
#This statement checks to see if we're using a backend other then C, and if not, passes C99.
|
||||
#We would just check for C except Nim only defines the other backends.
|
||||
when not defined(cpp) or defined(objc) or defined(js):
|
||||
{.passC: "-std=c99".}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user