diff options
author | Dave Beckett <dave@dajobe.org> | 2011-08-27 19:04:51 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2011-08-27 19:04:51 -0700 |
commit | 8a7c140837b0d40fb43527fc9a86635c1cccd145 (patch) | |
tree | c7137d1ac21afe06cbfef039c2ad6da7112ea505 /utils/rdfdiff.c | |
parent | ff0623c89a87f261b55f5546ffa7eb3eb2af55ef (diff) | |
download | raptor-8a7c140837b0d40fb43527fc9a86635c1cccd145.tar.gz |
Fix rdfdiff assumption that RAPTOR_DEBUG is defined
Diffstat (limited to 'utils/rdfdiff.c')
-rw-r--r-- | utils/rdfdiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/rdfdiff.c b/utils/rdfdiff.c index 267a1f86..fae18cb0 100644 --- a/utils/rdfdiff.c +++ b/utils/rdfdiff.c @@ -271,7 +271,7 @@ rdfdiff_statement_equals(raptor_world *world, const raptor_statement *s1, const if(!s1 || !s2) return 0; -#if RAPTOR_DEBUG > 1 +#if defined(RAPTOR_DEBUG) && RAPTOR_DEBUG > 1 fprintf(stderr, "(rdfdiff_statement_equals) Comparing "); raptor_statement_print_as_ntriples(s1, stderr); fprintf(stderr, " to "); @@ -351,7 +351,7 @@ rdfdiff_statement_equals(raptor_world *world, const raptor_statement *s1, const rv = 1; done: -#if RAPTOR_DEBUG > 1 +#if defined(RAPTOR_DEBUG) && RAPTOR_DEBUG > 1 fprintf(stderr, " : %s\n", (rv ? "equal" : "not equal")); #endif return rv; |