Skip to content

Commit

Permalink
APR DSOs have .dll extension on Cygwin too.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
trawick committed Oct 5, 2013
1 parent 7e58c42 commit 6b087b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crypto/apr_crypto.c
Expand Up @@ -172,7 +172,7 @@ APR_DECLARE(apr_status_t) apr_crypto_get_driver(

#if defined(NETWARE)
apr_snprintf(modname, sizeof(modname), "crypto%s.nlm", name);
#elif defined(WIN32)
#elif defined(WIN32) || defined(__CYGWIN__)
apr_snprintf(modname, sizeof(modname),
"apr_crypto_%s-" APR_STRINGIFY(APR_MAJOR_VERSION) ".dll", name);
#else
Expand Down
2 changes: 1 addition & 1 deletion dbd/apr_dbd.c
Expand Up @@ -182,7 +182,7 @@ APR_DECLARE(apr_status_t) apr_dbd_get_driver(apr_pool_t *pool, const char *name,

#if defined(NETWARE)
apr_snprintf(modname, sizeof(modname), "dbd%s.nlm", name);
#elif defined(WIN32)
#elif defined(WIN32) || defined(__CYGWIN__)
apr_snprintf(modname, sizeof(modname),
"apr_dbd_%s-" APR_STRINGIFY(APR_MAJOR_VERSION) ".dll", name);
#else
Expand Down
2 changes: 1 addition & 1 deletion dbm/apr_dbm.c
Expand Up @@ -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
Expand Down

0 comments on commit 6b087b7

Please sign in to comment.