summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2018-11-05 19:07:05 (GMT)
committerGitHub <noreply@github.com>2018-11-05 19:07:05 (GMT)
commit9342a7e5ff660c421e9cedec6bb2d822dce9a7f8 (patch)
tree9c57c82ae74f87c919356b552e06e5c79affa599 /configure.py
parent3841023a44621e8d8133e9eb6e79e26481dc0bc3 (diff)
parent056633514fcb735f2a11a1354d71896262e1b92c (diff)
downloadNinja-9342a7e5ff660c421e9cedec6bb2d822dce9a7f8.zip
Ninja-9342a7e5ff660c421e9cedec6bb2d822dce9a7f8.tar.gz
Ninja-9342a7e5ff660c421e9cedec6bb2d822dce9a7f8.tar.bz2
Merge pull request #1457 from V-for-Vasili/AIX-support
Port to AIX platform
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 9e23a5a..5841f8d 100755
--- a/configure.py
+++ b/configure.py
@@ -356,6 +356,11 @@ else:
if platform.uses_usr_local():
cflags.append('-I/usr/local/include')
ldflags.append('-L/usr/local/lib')
+ if platform.is_aix():
+ # printf formats for int64_t, uint64_t; large file support
+ cflags.append('-D__STDC_FORMAT_MACROS')
+ cflags.append('-D_LARGE_FILES')
+
libs = []