在 2019/4/2 22:33, Jacek Caban 写道:
> On 4/2/19 4:22 PM, Liu Hao wrote:
> 
> Personally I'm tempted to say that it's not of interest, but I think
> it's still officially supported.
> 
> 
> Anyway, in this case supporting XP should be as trivial as forwarding
> _futime32 to _futime in .def file.
> 
> 
> Jacek

Hmmm but how about Windows XP x64 ?

New patch attached.


-- 
Best regards,
LH_Mouse
From 7d24136b4eac2c09ecbe410b6ee623a49ba4a8df Mon Sep 17 00:00:00 2001
From: Liu Hao <[email protected]>
Date: Tue, 2 Apr 2019 22:45:58 +0800
Subject: [PATCH] crt/lib-common/msvcrt.def.in: Export `_futime32()` on x86 and
 x64.

On x86 it is an alias for `_futime()`; on x64 it is presumed to be
available always (I can verify this only on Windows 7 however).

Reference: https://sourceforge.net/p/msys2/mailman/message/36628134/
Signed-off-by: Liu Hao <[email protected]>
---
 mingw-w64-crt/lib-common/msvcrt.def.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mingw-w64-crt/lib-common/msvcrt.def.in 
b/mingw-w64-crt/lib-common/msvcrt.def.in
index b45f3f5a..22e75532 100644
--- a/mingw-w64-crt/lib-common/msvcrt.def.in
+++ b/mingw-w64-crt/lib-common/msvcrt.def.in
@@ -544,7 +544,8 @@ F_I386(_ftol)
 _fullpath
 F_ARM_ANY(_fullpath_dbg)
 _futime
-F_ARM_ANY(_futime32)
+F_I386(_futime32 == _futime)
+F_NON_I386(_futime32)
 _futime64
 _fwprintf_l
 _fwprintf_p
-- 
2.21.0

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to