mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5cdeca8b1d
commit
2f87fed247
@ -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…
Reference in New Issue
Block a user