summaryrefslogtreecommitdiff
path: root/src/pyinterp.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 14:30:10 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 14:30:34 -0600
commite7de77d8dfc764fd3764dc45d397d5f8454414be (patch)
treea32e7432203062d368e4663b437d51a7a3a8e36c /src/pyinterp.cc
parent79a4919777b839238bbaf61f0fb6bdf58959e43b (diff)
downloadfork-ledger-e7de77d8dfc764fd3764dc45d397d5f8454414be.tar.gz
fork-ledger-e7de77d8dfc764fd3764dc45d397d5f8454414be.tar.bz2
fork-ledger-e7de77d8dfc764fd3764dc45d397d5f8454414be.zip
Added #if's for building optimized with Clang
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r--src/pyinterp.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pyinterp.cc b/src/pyinterp.cc
index d1f46580..8d9c8c84 100644
--- a/src/pyinterp.cc
+++ b/src/pyinterp.cc
@@ -535,7 +535,9 @@ namespace {
case value_t::ANY: // a pointer to an arbitrary object
return object(val);
}
+#if !defined(__clang__)
return object();
+#endif
}
}