Eric Botcazou
d39cb40301
Merge branch 'mr/botcazou-mingw-w64#3' into 'master'
...
Adjust to the MSVCRT -> UCRT transition #2
See merge request eng/toolchain/win32ada!13
2026-02-03 22:04:11 +01:00
Eric Botcazou
db125368a8
Adjust to the MSVCRT -> UCRT transition #2
...
This is a tentative fix to cope with the MSVCRT -> UCRT transition done
in the MinGW-W64 environment: -lmsvcrt is now the import library of UCRT
while -lmsvcrt-os is the import library of MSVCRT.
Issue: eng/toolchain/mingw-w64#3
2026-02-03 21:39:31 +01:00
Eric Botcazou
3f21da1a20
Merge branch 'mr/botcazou-mingw-w64#3' into 'master'
...
Adjust to the MSVCRT -> UCRT transition
See merge request eng/toolchain/win32ada!12
2026-02-03 21:12:52 +01:00
Eric Botcazou
0c2f595207
Adjust to the MSVCRT -> UCRT transition
...
This is a tentative fix to cope with the MSVCRT -> UCRT transition done
in the MinGW-W64 environment: -lmsvcrt is now the import library of UCRT
while -lmsvcrt-os is the import library of MSVCRT.
Issue: eng/toolchain/mingw-w64#3
2026-02-03 20:13:22 +01:00
Olivier Hainque
4d16a60077
Merge branch 'mr/var_c-gcc-15' into 'master'
...
Tighten var.c for compilation with gcc-15
See merge request eng/toolchain/win32ada!11
v26.0.0
2025-07-09 18:03:56 +02:00
Olivier Hainque
432ba0aa11
Arrange to compile var.c with -std=c89
...
var.c relies on an empty arg list in a function declarator
to convey an unknown list of parameters rather than an expected
absence of parameters.
2025-07-09 10:45:31 +00:00
Olivier Hainque
8f7b846dbe
Add missing include stdint.h to var.c
...
For uses of uintptr_t.
2025-07-08 16:03:51 +00:00
Pascal Obry
14d8c4230d
Merge branch 'topic/fix-ularge_integer' into 'master'
...
Add IsWow64Process API in Win32.Winbase.
See merge request eng/toolchain/win32ada!10
2025-05-05 17:17:52 +02:00
Pascal Obry
571a99bd4c
Fix definition of ULARGE_INTEGER.
...
TN: eng/toolchain/win32ada#8
2025-05-03 11:21:59 +02:00
Pascal Obry
ba9fc69c2c
Add IsWow64Process API in Win32.Winbase.
...
TN: eng/toolchain/win32ada#8
2025-05-03 09:39:04 +02:00
Pascal Obry
0ca2db8e7c
Merge branch 'topic/new-api' into 'master'
...
Add some new API.
See merge request eng/toolchain/win32ada!7
2025-04-05 21:09:30 +00:00
Pascal Obry
6d39e42a1f
Add some new API.
...
The new methods are:
- OpenThread
- QueryThreadCycleTime
- SetFilePointerEx
- GetSystemTimeAsFileTime
- ReadDirectoryChangesW
- CancelIo
- HasOverlappedIoCompleted
And corresponding constants are added.
TN: eng/toolchain/win32ada#7
2025-04-05 21:09:23 +00:00
Pascal Obry
fa3b52e366
Merge branch 'topic/interlocked-long' into 'master'
...
Rework interlocked methods to use LONG instead of DWORD.
See merge request eng/toolchain/win32ada!8
2025-04-05 21:09:12 +00:00
Pascal Obry
758ee30637
Rework interlocked methods to use LONG instead of DWORD.
...
This reverts part of previous work to match closer the
Win32 API.
At the same time, mark with a pragma 2012 units using some
Ada 2012 features.
TN: eng/toolchain/win32ada#5
2025-04-05 21:08:46 +00:00
Pascal Obry
6586d517ba
Merge branch 'topic/mr' into 'master'
...
Minor code reformatting.
See merge request eng/toolchain/win32ada!9
2025-04-05 21:08:30 +00:00
Pascal Obry
4bde90e718
Minor code reformatting.
...
no-tn-check
2025-04-04 18:53:02 +02:00
Pascal Obry
485ba8bb08
Merge branch 'topic/win32ada-script' into 'master'
...
Rework script to build Win32Ada.
See merge request eng/toolchain/win32ada!6
2025-04-02 19:41:06 +00:00
Pascal Obry
4d4ef1c7ff
Rework script to build Win32Ada.
...
The template script for the installer has been removed the .in suffix
as it is not a template anymore. The GNATprep call has been removed
in Dev 2013 (985adb0 ) and so there is nothing edited on this file.
Also a simplified user script is added for building from sources.
TN: eng/toolchain/win32ada#6
2025-03-28 17:43:21 +01:00
Pascal Obry
e72eb083c8
Merge branch 'topic/fix-intrinsics-32bit' into 'master'
...
win32-winbase: Fix interlocked routines for 32bit words.
See merge request eng/toolchain/win32ada!5
2025-03-25 14:30:06 +00:00
Pascal Obry
3763250707
win32-winbase: Fix interlocked routines for 32bit words.
...
Use unsigned 32bit DWORD instead of LONG.
TN: eng/toolchain/win32ada#5
2025-03-24 20:30:57 +01:00
Pascal Obry
c3fceaff91
Merge branch 'topic/interlocked-win64' into 'master'
...
Add support for InterlockedCompareExchange.
See merge request eng/toolchain/win32ada!4
2025-02-10 16:38:46 +00:00
Pascal Obry
997ba51dc8
Add 64bit version of interlocked routines.
...
The four following new routines have a 64bit version:
- InterlockedIncrement
- InterlockedIncrement
- InterlockedExchange
- InterlockedCompareExchange
TN eng/toolchain/win32ada#4
2025-02-07 17:36:49 +01:00
Pascal Obry
ebf6efe17d
Add support for InterlockedCompareExchange.
...
TN eng/toolchain/win32ada#4
2025-02-07 17:33:26 +01:00
Pascal Obry
d10253431b
Merge branch 'topic/interlocked-win64' into 'master'
...
Implement some routines as intrinsic as not part of Win32 lib.
See merge request eng/toolchain/win32ada!3
2025-02-04 22:12:21 +00:00
Pascal Obry
046c63aaab
Implement some routines as intrinsic as not part of Win32 lib.
...
The three following routines are intrinsic and not part of the winbase.a
library anymore:
- InterlockedIncrement
- InterlockedDecrement
- InterlockedExchange
TN eng/toolchain/win32ada#4
2025-01-30 19:08:04 +01:00