1
0
mirror of https://github.com/mist64/perfect6502.git synced 2024-06-01 10:41:28 +00:00
perfect6502/stat.h
2010-09-22 10:05:49 +00:00

15 lines
244 B
C

#ifndef STAT_H_INCLUDED
#define STAT_H_INCLUDED
#include <sys/types.h>
#include <sys/stat.h>
#ifdef _WIN32
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#define stat _stat
#else
#include <unistd.h>
#endif
#endif /* STAT_H_INCLUDED */