mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 17:36:57 +00:00
sim65: Build was failing on Windows, too.
Microsoft loves putting underscores in front of everything!
This commit is contained in:
parent
12fbdbf418
commit
a7d158e077
@ -49,10 +49,18 @@
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#ifndef S_IREAD
|
||||
# define S_IREAD S_IRUSR
|
||||
# ifdef _WIN32
|
||||
# define S_IREAD _S_IREAD
|
||||
# else
|
||||
# define S_IREAD S_IRUSR
|
||||
# endif
|
||||
#endif
|
||||
#ifndef S_IWRITE
|
||||
# define S_IWRITE S_IWUSR
|
||||
# ifdef _WIN32
|
||||
# define S_IWRITE _S_IWRITE
|
||||
# else
|
||||
# define S_IWRITE S_IWUSR
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* common */
|
||||
|
Loading…
x
Reference in New Issue
Block a user