openMSX
statp.hh
Go to the documentation of this file.
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