File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -498,6 +498,12 @@ slash_adjust(p)
498498 }
499499}
500500
501+ #if (_MSC_VER >= 1300 )
502+ # define OPEN_OH_ARGTYPE intptr_t
503+ #else
504+ # define OPEN_OH_ARGTYPE long
505+ #endif
506+
501507 static int
502508stat_symlink_aware (const char * name , struct stat * stp )
503509{
@@ -533,7 +539,7 @@ stat_symlink_aware(const char *name, struct stat *stp)
533539 {
534540 int fd , n ;
535541
536- fd = _open_osfhandle ((intptr_t )h , _O_RDONLY );
542+ fd = _open_osfhandle ((OPEN_OH_ARGTYPE )h , _O_RDONLY );
537543 n = _fstat (fd , (struct _stat * )stp );
538544 _close (fd );
539545 return n ;
@@ -580,7 +586,7 @@ wstat_symlink_aware(const WCHAR *name, struct _stat *stp)
580586 {
581587 int fd ;
582588
583- fd = _open_osfhandle ((intptr_t )h , _O_RDONLY );
589+ fd = _open_osfhandle ((OPEN_OH_ARGTYPE )h , _O_RDONLY );
584590 n = _fstat (fd , stp );
585591 _close (fd );
586592 return n ;
Original file line number Diff line number Diff line change @@ -738,6 +738,8 @@ static char *(features[]) =
738738
739739static int included_patches [] =
740740{ /* Add new patch number below this line */
741+ /**/
742+ 44 ,
741743/**/
742744 43 ,
743745/**/
You can’t perform that action at this time.
0 commit comments