mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
the old-new win32 port
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@804 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
ae87bffa06
commit
823b9004c4
21 changed files with 2072 additions and 6 deletions
|
@ -1,11 +1,19 @@
|
|||
/* define POSIX stuff: dirent, scandir, getcwd, mkdir */
|
||||
#if defined(__linux__)
|
||||
#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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue