summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2008-11-21 07:10:54 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2008-11-21 07:10:54 +0000
commitf3e416cd3ea338c811d1778fa9ccbe7ef2ecd4e6 (patch)
treeb9bb56c1cb2d89ad4d2e04b849d56456a7b4f0ba
parentf43742b59732461bfb0a829710c215edc5267854 (diff)
downloadlibapr-util-f3e416cd3ea338c811d1778fa9ccbe7ef2ecd4e6.tar.gz
Fix if/ifdef confusion.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719520 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--dbm/apr_dbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbm/apr_dbm.c b/dbm/apr_dbm.c
index 04b517b5..301310ef 100644
--- a/dbm/apr_dbm.c
+++ b/dbm/apr_dbm.c
@@ -51,7 +51,7 @@
#error a DBM implementation was not specified
#endif
-#ifdef APU_DSO_BUILD
+#if APU_DSO_BUILD
static apr_hash_t *drivers = NULL;
@@ -72,7 +72,7 @@ static apr_status_t dbm_open_type(apr_dbm_type_t const* * vtable,
const char *type,
apr_pool_t *pool)
{
-#ifndef APU_DSO_BUILD
+#if !APU_DSO_BUILD
*vtable = NULL;
if (!strcasecmp(type, "default")) *vtable = &DBM_VTABLE;