mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 12:55:45 +00:00
Update a portability kludge to keep it in sync with changes in the code
which uses it. This is not ideal, but it ought to at least restore the behavior to what it was before. llvm-svn: 175571
This commit is contained in:
parent
ecca606341
commit
5e3791bfa0
@ -33,8 +33,13 @@
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#ifndef S_ISFIFO
|
||||
#define S_ISFIFO(x) (0)
|
||||
// Simplistic definitinos of these macros to allow files to be read with
|
||||
// MapInFilePages.
|
||||
#ifndef S_ISREG
|
||||
#define S_ISREG(x) (1)
|
||||
#endif
|
||||
#ifndef S_ISBLK
|
||||
#define S_ISBLK(x) (0)
|
||||
#endif
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user