diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-09-26 11:46:38 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-09-26 11:46:38 -0700 |
commit | 33a68acb14759cb6fcf796b41ad001c93de4b8e4 (patch) | |
tree | f03543b04c0e5b7ce7f2650ff1330919d4d6e055 /lang_ext | |
parent | 4b47002198f2c0404e16d2f02786845d6d3a0d3b (diff) |
Use a status object for errors so a message can be returned.
Also delay deletion of subfields until the entire message is
deleted.
Diffstat (limited to 'lang_ext')
-rw-r--r-- | lang_ext/python/setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
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'], ), |