mirror of
https://github.com/troydhanson/tpl.git
synced 2025-01-14 00:27:56 +08:00
define S_ISREG if not already defined
* required for VC80 with Microsoft SDK 7.1
This commit is contained in:
parent
445b4e9f23
commit
f6eeb11894
@ -53,6 +53,9 @@ typedef unsigned __int32 uint32_t;
|
|||||||
typedef unsigned __int64 uint64_t;
|
typedef unsigned __int64 uint64_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef S_ISREG
|
||||||
|
#define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ( defined __CYGWIN__ || defined __MINGW32__ || defined _WIN32 )
|
#if ( defined __CYGWIN__ || defined __MINGW32__ || defined _WIN32 )
|
||||||
#include "win/mman.h" /* mmap */
|
#include "win/mman.h" /* mmap */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user