[ci] Trying to fix gen-def issue on appveyor (#885)

This commit is contained in:
Ebrahim Byagowi 2018-03-14 09:56:31 +03:30 committed by GitHub
parent a12dd6f75d
commit 93f8f89ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ import io, os, re, sys
headers_content = []
for h in os.environ["headers"].split (' '):
if h.endswith (".h"):
with io.open(h, encoding='utf8') as f: headers_content.append (f.read ())
with io.open (h, encoding='ISO-8859-1') as f: headers_content.append (f.read ())
result = """EXPORTS
%s