summaryrefslogtreecommitdiff
path: root/dbm
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2013-10-05 23:42:42 +0000
committerJeff Trawick <trawick@apache.org>2013-10-05 23:42:42 +0000
commit478ff8f2d85186b00dd7c45851a8c157fb98ca25 (patch)
tree2e78f23c043fd088d99fe0e39f5435603d72cf28 /dbm
parentddab88650e36ddc210ecd7f88f9abcc154c239ed (diff)
downloadapr-478ff8f2d85186b00dd7c45851a8c157fb98ca25.tar.gz
APR DSOs have .dll extension on Cygwin too.
PR: 55587 Submitted by: Carlo Bramini <carlo.bramix libero.it> Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1529554 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dbm')
-rw-r--r--dbm/apr_dbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbm/apr_dbm.c b/dbm/apr_dbm.c
index c4c296b15..71ba113ec 100644
--- a/dbm/apr_dbm.c
+++ b/dbm/apr_dbm.c
@@ -164,7 +164,7 @@ static apr_status_t dbm_open_type(apr_dbm_type_t const* * vtable,
#if defined(NETWARE)
apr_snprintf(modname, sizeof(modname), "dbm%s.nlm", type);
-#elif defined(WIN32)
+#elif defined(WIN32) || defined (__CYGWIN__)
apr_snprintf(modname, sizeof(modname),
"apr_dbm_%s-" APR_STRINGIFY(APR_MAJOR_VERSION) ".dll", type);
#else