From c623ac675720b3145d48cc2ea9474a0f3e0cbbca Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sun, 21 Apr 2002 01:55:35 +0000 Subject: Windows 64-bit support: * support for building it in the regular makefiles * large files support via the _*i64() functions (this should be portable to the 32-bit universe too, but quite untested and and binary-incompatible, therefore not enabled there) * three additional test failures in addition to the t/end.t one (see README.win32) * sprintf() on Windows gets %I{32,64,}[xoud] format that parallel the ones available from the CRT (needed because Perl uses the UVxf macros in both sprintf() *and* in sv_catpvf() et al.) * add a few 64-bit notes to README.win32 The following general problems were also fixed: * s/struct stat/Stat_t/g * Data::Dumper had some naughty 'long' typecasts * Errno_pm.PL didn't work safe when winsock.h was not in the same directory as errno.h * various tell/seek things were incorrectly prototyped * squelch ugly looking noise when running tests * Embed.t wasn't linking in all the libraries * perl57.dll is now perl58.dll (anticipating 5.8.0-RC1) * re-enable all the disabled warnings (additional fixes may be needed for the warnings uncovered by this) p4raw-id: //depot/perl@16033 --- dosish.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dosish.h') diff --git a/dosish.h b/dosish.h index c9335971e4..045fef5b50 100644 --- a/dosish.h +++ b/dosish.h @@ -79,7 +79,11 @@ * to include and to get any typedef'ed * information. */ +#if defined(WIN64) || defined(USE_LARGE_FILES) +#define Stat_t struct _stati64 +#else #define Stat_t struct stat +#endif /* USE_STAT_RDEV: * This symbol is defined if this system has a stat structure declaring -- cgit v1.2.1