mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 11:27:19 +02:00
Fix build with musl libc
GLOB_BRACE and GLOB_TILDE is not defined in posix and thus not implemented in musl libc. We fix this by defining it to 0 if its undefined. fixes issue #1503
This commit is contained in:
parent
72aa8df029
commit
192b905a05
1 changed files with 9 additions and 0 deletions
|
@ -38,6 +38,15 @@
|
||||||
#include <Directory.h>
|
#include <Directory.h>
|
||||||
#include <Path.h>
|
#include <Path.h>
|
||||||
|
|
||||||
|
/* fixes build with musl libc */
|
||||||
|
#ifndef GLOB_TILDE
|
||||||
|
#define GLOB_TILDE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GLOB_BRACE
|
||||||
|
#define GLOB_BRACE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
std::ostream& operator<< (std::ostream& out, const Path& path)
|
std::ostream& operator<< (std::ostream& out, const Path& path)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue