summaryrefslogtreecommitdiff
path: root/Build/source/libs/harfbuzz/harfbuzz-src/src/gen-def.py
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-src/src/gen-def.py')
-rw-r--r--Build/source/libs/harfbuzz/harfbuzz-src/src/gen-def.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-src/src/gen-def.py b/Build/source/libs/harfbuzz/harfbuzz-src/src/gen-def.py
index 1673537c963..9a997d65a1b 100644
--- a/Build/source/libs/harfbuzz/harfbuzz-src/src/gen-def.py
+++ b/Build/source/libs/harfbuzz/harfbuzz-src/src/gen-def.py
@@ -1,13 +1,13 @@
#!/usr/bin/env python
-from __future__ import print_function
+from __future__ import print_function, division, absolute_import
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='utf-8') as f: headers_content.append (f.read ())
result = """EXPORTS
%s