Commit d21ecb6
committed
Prevent requirement of C99 mode
After aplying this patch nginx can't be build because:
```
src/event/ngx_event_openssl.c: In function 'ngx_SSL_client_features':
src/event/ngx_event_openssl.c:1628:17: error: 'for' loop initial declarations are only allowed in C99 mode
src/event/ngx_event_openssl.c:1628:17: note: use option -std=c99 or
-std=gnu99 to compile your code
```
This simple changes fixed it1 parent 6f0a0d1 commit d21ecb6
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments