OXYGENHUB
◆ main openmsx / src / utils / statp.hh
195 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef STATP_HH
2
#define STATP_HH
3
4
#include <sys/stat.h>
5
6
#ifdef _MSC_VER
7
#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
8
#define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
9
#endif
10
11
#endif