Commit e7f8129
committed
Build and tests should work when APR doesn't support threads.
* auth/auth.c
(cleanup_user_scheme): Don't call init_authn_schemes_guard() explicitly.
* test/MockHTTPinC/MockHTTP_server.c
(run_thread): Define function only if APR supports threads.
(mhStartServer, mhStopServer): Move threading-specific local variables
inside the APR_HAS_THREADS conditional block.
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1931478 13f79535-47bb-0310-9956-ffa450edef681 parent 7320fea commit e7f8129
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
625 | | - | |
626 | | - | |
| 624 | + | |
627 | 625 | | |
628 | 626 | | |
629 | 627 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
1776 | 1778 | | |
1777 | 1779 | | |
1778 | 1780 | | |
1779 | | - | |
1780 | 1781 | | |
1781 | 1782 | | |
1782 | 1783 | | |
1783 | 1784 | | |
1784 | 1785 | | |
| 1786 | + | |
| 1787 | + | |
1785 | 1788 | | |
1786 | 1789 | | |
1787 | 1790 | | |
| |||
1806 | 1809 | | |
1807 | 1810 | | |
1808 | 1811 | | |
| 1812 | + | |
1809 | 1813 | | |
1810 | | - | |
1811 | 1814 | | |
1812 | 1815 | | |
1813 | 1816 | | |
| |||
0 commit comments