Merge pull request #3077 from jriwanek-forks/unix-noqt

Fix non QT builds & Add support for Termux
This commit is contained in:
Miran Grča
2023-02-03 12:04:35 +01:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -18,8 +18,8 @@
#ifndef PLAT_DIR_H
#define PLAT_DIR_H
/* Windows needs the POSIX re-implementations */
#if defined(_WIN32)
/* Windows and Termux needs the POSIX re-implementations */
#if defined(_WIN32) || defined(__TERMUX__)
# ifdef _MAX_FNAME
# define MAXNAMLEN _MAX_FNAME
# else