[Commited][PATCH 1/3] JSON: Disable exception in JSON library, because exception is disable by by default.

5 views
Skip to first unread message

ether zhhb

unread,
Apr 29, 2011, 11:39:12 PM4/29/11
to polly-commits
hi,

the patch is committed, please review. and sorry for the type error.

best regards
ether

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@130574
91177308-0d34-0410-b5e6-96231b3b80d8
---
lib/JSON/include/json/config.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/JSON/include/json/config.h b/lib/JSON/include/json/config.h
index 5d334cb..b6dde91 100644
--- a/lib/JSON/include/json/config.h
+++ b/lib/JSON/include/json/config.h
@@ -21,7 +21,7 @@

/// If defined, indicates that Json use exception to report invalid
type manipulation
/// instead of C assert macro.
-# define JSON_USE_EXCEPTION 1
+# define JSON_USE_EXCEPTION 0

# ifdef JSON_IN_CPPTL
# include <cpptl/config.h>
--
1.7.4

Reply all
Reply to author
Forward
0 new messages