You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
535 B
22 lines
535 B
#ifndef _MSC_VER // [
|
|
#error "Use this header only with Microsoft Visual C++ compilers!"
|
|
#endif // _MSC_VER ]
|
|
|
|
#ifndef _MS_STAT_H_
|
|
#define _MS_STAT_H_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include <sys/stat.h>
|
|
/* Test macros for file types. */
|
|
|
|
#define __S_ISTYPE(mode, mask) (((mode) & S_IFMT) == (mask))
|
|
|
|
#define S_ISDIR(mode) __S_ISTYPE((mode), S_IFDIR)
|
|
#define S_ISCHR(mode) __S_ISTYPE((mode), S_IFCHR)
|
|
#define S_ISBLK(mode) __S_ISTYPE((mode), S_IFBLK)
|
|
#define S_ISREG(mode) __S_ISTYPE((mode), S_IFREG)
|
|
|
|
#endif
|
|
|