1 #ifndef LIBPICOFE_POSIX_H
2 #define LIBPICOFE_POSIX_H
4 /* define POSIX stuff: dirent, scandir, getcwd, mkdir */
5 #if defined(__linux__) || defined(__MINGW32__)
10 #include <sys/types.h>
14 #define mkdir(pathname,mode) mkdir(pathname)
22 #error "must provide posix"
26 #endif // LIBPICOFE_POSIX_H