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