Commit 9569091
committed
Fix Windows compile failure from unguarded daemon shutdown flag.
The script preload loop in wsgi_python_child_init referenced
wsgi_daemon_shutdown without a MOD_WSGI_WITH_DAEMONS guard. That
variable is only declared when daemon mode is available, which is
never the case on Windows, so compilation failed with C2065. Wrap
the reference in the conditional to match the other uses.1 parent e8e9e51 commit 9569091
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3456 | 3456 | | |
3457 | 3457 | | |
3458 | 3458 | | |
| 3459 | + | |
3459 | 3460 | | |
3460 | 3461 | | |
| 3462 | + | |
3461 | 3463 | | |
3462 | 3464 | | |
3463 | 3465 | | |
| |||
0 commit comments