diff options
-rw-r--r-- | pp_sys.c | 2 | ||||
-rw-r--r-- | win32/win32.c | 1 | ||||
-rw-r--r-- | win32/win32.h | 2 |
3 files changed, 2 insertions, 3 deletions
@@ -3633,11 +3633,13 @@ PP(pp_chdir) #endif RETURN; +#ifdef HAS_FCHDIR nuts: report_evil_fh(gv); SETERRNO(EBADF,RMS_IFI); PUSHi(0); RETURN; +#endif } diff --git a/win32/win32.c b/win32/win32.c index 6024623356..1510805da9 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -3247,7 +3247,6 @@ win32_chsize(int fd, Off_t size) retval = -1; } } -finish: win32_lseek(fd, cur, SEEK_SET); return retval; #else diff --git a/win32/win32.h b/win32/win32.h index 2d5eda9fdf..5a48b0b385 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -243,8 +243,6 @@ typedef long gid_t; typedef unsigned short mode_t; #endif -#pragma warning(disable: 4102) /* "unreferenced label" */ - #if _MSC_VER < 1800 #define isnan _isnan /* Defined already in VC++ 12.0 */ #endif |