add minimal osx/ios compilastion support

This commit is contained in:
kub 2021-03-22 23:07:02 +01:00
parent 2de059cace
commit 5d636caaaf
2 changed files with 9 additions and 2 deletions

View file

@ -2,7 +2,7 @@
#define LIBPICOFE_POSIX_H
/* define POSIX stuff: dirent, scandir, getcwd, mkdir */
#if defined(__linux__) || defined(__MINGW32__)
#if defined(__MACH__) || defined(__linux__) || defined(__MINGW32__)
#include <dirent.h>
#include <unistd.h>