File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,10 @@ static inline int symlink(const char *oldpath, const char *newpath)
99
99
{ errno = ENOSYS ; return -1 ; }
100
100
static inline int fchmod (int fildes , mode_t mode )
101
101
{ errno = ENOSYS ; return -1 ; }
102
+ #ifndef __MINGW64_VERSION_MAJOR
102
103
static inline pid_t fork (void )
103
104
{ errno = ENOSYS ; return -1 ; }
105
+ #endif
104
106
static inline unsigned int alarm (unsigned int seconds )
105
107
{ return 0 ; }
106
108
static inline int fsync (int fd )
@@ -390,8 +392,10 @@ static inline char *mingw_find_last_dir_sep(const char *path)
390
392
int mingw_offset_1st_component (const char * path );
391
393
#define offset_1st_component mingw_offset_1st_component
392
394
#define PATH_SEP ';'
395
+ #ifndef __MINGW64_VERSION_MAJOR
393
396
#define PRIuMAX "I64u"
394
397
#define PRId64 "I64d"
398
+ #endif
395
399
396
400
void mingw_open_html (const char * path );
397
401
#define open_html mingw_open_html
You can’t perform that action at this time.
0 commit comments