Fix linux CI, use C99 mode (#12)

This commit is contained in:
Mamy Ratsimbazafy 2018-10-02 17:53:29 +02:00 committed by GitHub
parent a6581e833d
commit 7b4a878757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
# Milagro 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".}
import strutils
from os import DirSep