mirror of
https://github.com/troydhanson/tpl.git
synced 2024-12-27 08:05:39 +08:00
Merge pull request #2 from andrei-diaconu/master
I had to define S_ISREG in order to compile on my machine
This commit is contained in:
commit
0cf16b3e8a
@ -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