aboutsummaryrefslogtreecommitdiff
path: root/frontend/common/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/common/posix.h')
-rw-r--r--frontend/common/posix.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/frontend/common/posix.h b/frontend/common/posix.h
deleted file mode 100644
index 33ca96c..0000000
--- a/frontend/common/posix.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* define POSIX stuff: dirent, scandir, getcwd, mkdir */
-#if defined(__linux__) || defined(__MINGW32__)
-
-#include <dirent.h>
-#include <unistd.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-
-#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
-
-