summaryrefslogtreecommitdiff
path: root/dso
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-10-13 03:34:32 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-10-13 03:34:32 +0000
commit39e6c89a0ed813124804a5812a2beb9e2d2c0199 (patch)
tree054d6eee47a9dc4ee92cc85789df40639cc24b81 /dso
parentd3285a12f0374e16754cfc5020b36ac786646676 (diff)
downloadlibapr-39e6c89a0ed813124804a5812a2beb9e2d2c0199.tar.gz
Prepare to eliminate a platform specific
#define APR_OS2_STATUS(e) (APR_FROM_OS_ERROR(e)) for the platform agnostic APR_FROM_OS_ERROR() macro. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r--dso/os2/dso.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dso/os2/dso.c b/dso/os2/dso.c
index 3a663100e..d1b79e6c2 100644
--- a/dso/os2/dso.c
+++ b/dso/os2/dso.c
@@ -73,7 +73,7 @@ static apr_status_t dso_cleanup(void *thedso)
if (rc == 0)
dso->handle = 0;
- return APR_OS2_STATUS(rc);
+ return APR_FROM_OS_ERROR(rc);
}
@@ -89,9 +89,9 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle, const char
(*res_handle)->failed_module = NULL;
if ((rc = DosLoadModule(failed_module, sizeof(failed_module), path, &handle)) != 0) {
- (*res_handle)->load_error = APR_OS2_STATUS(rc);
+ (*res_handle)->load_error = APR_FROM_OS_ERROR(rc);
(*res_handle)->failed_module = apr_pstrdup(ctx, failed_module);
- return APR_OS2_STATUS(rc);
+ return APR_FROM_OS_ERROR(rc);
}
(*res_handle)->handle = handle;