Fix #ifndef statements: HAVE_ variables are all upper case

The autoconf manual states:

   define HAVE_function (in all capitals) if it is available

https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Generic-Functions.html#Generic-Functions

Thanks to @sur5r for the report
This commit is contained in:
Michael Stapelberg
2020-04-30 18:16:54 +02:00
parent 10646eb002
commit 5ee7690af3
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
#include <string.h>
#ifndef HAVE_strndup
#ifndef HAVE_STRNDUP
/*
* Taken from FreeBSD
* Returns a pointer to a new string which is a duplicate of the