Add comment explaining the when statement.

This commit is contained in:
Luke Parker 2018-09-13 15:48:13 -05:00
parent f0ef87420c
commit 590d363e21

View File

@ -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".}