X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Fposix.h;fp=common%2Fposix.h;h=0000000000000000000000000000000000000000;hb=a86e9a3e58f55bf49d99dfd5e5d6413e17149593;hp=33ca96ccbb04c6164cff63e122dfb0215355c8f5;hpb=f506842df2b0e251b56ffe0a828bb2029d423eec;p=libpicofe.git diff --git a/common/posix.h b/common/posix.h deleted file mode 100644 index 33ca96c..0000000 --- a/common/posix.h +++ /dev/null @@ -1,23 +0,0 @@ -/* define POSIX stuff: dirent, scandir, getcwd, mkdir */ -#if defined(__linux__) || defined(__MINGW32__) - -#include -#include -#include -#include - -#ifdef __MINGW32__ -#warning hacks! -#define mkdir(pathname,mode) mkdir(pathname) -#define d_type d_ino -#define DT_REG 0 -#define DT_DIR 0 -#endif - -#else - -#error "must provide posix" - -#endif - -