summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-03-05 19:21:18 -0800
committerGitHub <noreply@github.com>2019-03-05 19:21:18 -0800
commit51f30e064b8e88af8e7d429c5a54c25f28c68b02 (patch)
treeafbe3280c00c72822d713b80e3463391ad9afb3b /tools
parentc3e6bb5318065fbefc19607f9e15abd2a256929f (diff)
parent8b75e5c1197621b29ec2924cdd90f88b1e71ce3b (diff)
Merge pull request #152 from TeBoring/ruby-fix
Fix the issue for strptime
Diffstat (limited to 'tools')
-rwxr-xr-xtools/amalgamate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/amalgamate.py b/tools/amalgamate.py
index 038c83f..c4c8a1b 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())
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback