comparison auto/endianness @ 6624:e3faa5fb7772

Configure: fix build with -Werror=old-style-definition. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
author Piotr Sikora <piotrsikora@google.com>
date Mon, 27 Jun 2016 15:00:05 -0700
parents 7ec809b579d7
children
comparison
equal deleted inserted replaced
6623:0bf08d9c82c1 6624:e3faa5fb7772
13 END 13 END
14 14
15 15
16 cat << END > $NGX_AUTOTEST.c 16 cat << END > $NGX_AUTOTEST.c
17 17
18 int main() { 18 int main(void) {
19 int i = 0x11223344; 19 int i = 0x11223344;
20 char *p; 20 char *p;
21 21
22 p = (char *) &i; 22 p = (char *) &i;
23 if (*p == 0x44) return 0; 23 if (*p == 0x44) return 0;