Merge pull request #4049 from stapelberg/have

Fix #ifndef statements: HAVE_ variables are all upper case
This commit is contained in:
Orestis Floros 2020-04-30 18:34:23 +02:00 committed by GitHub
commit eae996c579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -347,7 +347,7 @@ gchar *g_utf8_make_valid(const gchar *str, gssize len);
*/ */
uint32_t get_colorpixel(const char *hex) __attribute__((const)); uint32_t get_colorpixel(const char *hex) __attribute__((const));
#ifndef HAVE_strndup #ifndef HAVE_STRNDUP
/** /**
* Taken from FreeBSD * Taken from FreeBSD
* Returns a pointer to a new string which is a duplicate of the * Returns a pointer to a new string which is a duplicate of the
@ -532,7 +532,7 @@ char *resolve_tilde(const char *path);
*/ */
char *get_config_path(const char *override_configpath, bool use_system_paths); char *get_config_path(const char *override_configpath, bool use_system_paths);
#ifndef HAVE_mkdirp #ifndef HAVE_MKDIRP
/** /**
* Emulates mkdir -p (creates any missing folders) * Emulates mkdir -p (creates any missing folders)
* *

View File

@ -12,7 +12,7 @@
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#ifndef HAVE_mkdirp #ifndef HAVE_MKDIRP
/* /*
* Emulates mkdir -p (creates any missing folders) * Emulates mkdir -p (creates any missing folders)
* *

View File

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