From 33a68acb14759cb6fcf796b41ad001c93de4b8e4 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 26 Sep 2009 11:46:38 -0700 Subject: Use a status object for errors so a message can be returned. Also delay deletion of subfields until the entire message is deleted. --- lang_ext/python/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang_ext/python') diff --git a/lang_ext/python/setup.py b/lang_ext/python/setup.py index 53cbef1..ec34e7d 100644 --- a/lang_ext/python/setup.py +++ b/lang_ext/python/setup.py @@ -6,7 +6,8 @@ setup(name='upb', Extension('upb.cext', ['definition.c', 'pb.c', 'cext.c'], include_dirs=['../../src', '../../descriptor'], define_macros=[("UPB_USE_PTHREADS", 1), - ("UPB_UNALIGNED_READS_OK", 1)], + ("UPB_UNALIGNED_READS_OK", 1), + ("UPB_THREAD_UNSAFE", 1)], library_dirs=['../../src'], libraries=['upb_pic'], ), -- cgit v1.2.3