diff options
author | Josh Haberman <jhaberman@gmail.com> | 2019-03-05 19:29:31 -0800 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2019-03-05 19:29:31 -0800 |
commit | f8ba0f67f25ad2c25b3147acfaa8a33ca5118a56 (patch) | |
tree | 492bd0c036e6af2aa563cfc5b59484d7998b75e9 /tools | |
parent | f858e0160ed72ece68c9bbd903a1fd4973049932 (diff) | |
parent | 55e23d4befd4be79badbf9cc97b31377c8b07aa0 (diff) |
Merge branch 'defcleanup' of github.com:haberman/upb into defcleanup
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/amalgamate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/amalgamate.py b/tools/amalgamate.py index 374d126..5545af5 100755 --- a/tools/amalgamate.py +++ b/tools/amalgamate.py @@ -17,6 +17,7 @@ class Amalgamator: self.output_c = open(output_path + "upb.c", "w") self.output_c.write("/* Amalgamated source file */\n") + self.output_c.write('#define _XOPEN_SOURCE 700\n') self.output_c.write('#include "upb.h"\n') self.output_c.write(open("upb/port_def.inc").read()) |