Skip to content

Commit f70f6f4

Browse files
author
Felipe Zimmerle
committed
Redefines unixd_set_global_mutex_perms on tests
Avoding conflicts with the standalone implementation
1 parent cef7285 commit f70f6f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/msc_test.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ char *get_env_var(request_rec *r, char *name) {
187187
return "FAKE-ENV-VAR";
188188
}
189189

190-
apr_status_t unixd_set_global_mutex_perms(apr_global_mutex_t *gmutex) {
190+
#define unixd_set_global_mutex_perms(a) my_unixd_set_global_mutex_perms(a)
191+
apr_status_t my_unixd_set_global_mutex_perms(apr_global_mutex_t *gmutex) {
191192
return APR_SUCCESS;
192193
}
193194

0 commit comments

Comments
 (0)