Sorry, I mistyped the section number. Updated the parent comment with corrections and links.
I assume the intent of tweetnacl is to be C89-compatible, but due to the long long (and char, although that one's pretty pedantic) issue there's little guarantee of success.