diff options
| author | Roy Marples <roy@marples.name> | 2016-05-04 11:39:37 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-05-04 11:39:37 +0000 |
| commit | 7d83c719c1f91c27229066cd1217bf2e6ba0381f (patch) | |
| tree | 325e1da49a79a3e2b8c87ac6d5c6c130ba3e996b /configure | |
| parent | 7b4da2c26b95d25772016e1da48a8c93a85cf0cd (diff) | |
| download | dhcpcd-7d83c719c1f91c27229066cd1217bf2e6ba0381f.tar.xz | |
Fix reallocarray test
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -902,8 +902,8 @@ if [ -z "$REALLOCARRAY" ]; then #include <stdlib.h> int main(void) { - reallocarray(NULL, 0, 0); - return 0; + void *foo = reallocarray(NULL, 0, 0); + return foo == NULL ? 1 : 0; } EOF if $XCC _reallocarray.c -o _reallocarray 2>&3; then |
