Mercurial > hg > nginx
comparison auto/types/uintptr_t @ 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 | a616bdc38645 |
comparison
equal
deleted
inserted
replaced
6623:0bf08d9c82c1 | 6624:e3faa5fb7772 |
---|---|
17 cat << END > $NGX_AUTOTEST.c | 17 cat << END > $NGX_AUTOTEST.c |
18 | 18 |
19 #include <sys/types.h> | 19 #include <sys/types.h> |
20 $NGX_INTTYPES_H | 20 $NGX_INTTYPES_H |
21 | 21 |
22 int main() { | 22 int main(void) { |
23 uintptr_t i = 0; | 23 uintptr_t i = 0; |
24 return (int) i; | 24 return (int) i; |
25 } | 25 } |
26 | 26 |
27 END | 27 END |