aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-07-09 07:55:28 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-09 07:55:28 +0000
commit18934a8d0feb60be26513cfbb4b9d34a908a7602 (patch)
tree2ab1ca0a754dd056f249dc7532d31d401f1408d0 /gcc
parentb3889ffffcde1e75def60c6967247eb56baeb3b8 (diff)
downloadgcc-18934a8d0feb60be26513cfbb4b9d34a908a7602.zip
gcc-18934a8d0feb60be26513cfbb4b9d34a908a7602.tar.gz
gcc-18934a8d0feb60be26513cfbb4b9d34a908a7602.tar.bz2
[Ada] System.OS_Interface: fix Critical_Section.SpinCount type
2019-07-09 Eric Botcazou <ebotcazou@adacore.com> gcc/ada/ * libgnarl/s-osinte__mingw.ads (CRITICAL_SECTION): Use proper type for SpinCount component. From-SVN: r273291
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/libgnarl/s-osinte__mingw.ads2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index ee00d1f..cfbdf89 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2019-07-09 Eric Botcazou <ebotcazou@adacore.com>
+
+ * libgnarl/s-osinte__mingw.ads (CRITICAL_SECTION): Use proper
+ type for SpinCount component.
+
2019-07-09 Justin Squirek <squirek@adacore.com>
* exp_ch4.adb (Expand_N_Allocator): Add conditional to detect
diff --git a/gcc/ada/libgnarl/s-osinte__mingw.ads b/gcc/ada/libgnarl/s-osinte__mingw.ads
index 2cf47b7..2a98664 100644
--- a/gcc/ada/libgnarl/s-osinte__mingw.ads
+++ b/gcc/ada/libgnarl/s-osinte__mingw.ads
@@ -369,7 +369,7 @@ private
-- section for the resource.
LockSemaphore : Win32.HANDLE;
- SpinCount : Win32.DWORD;
+ SpinCount : Interfaces.C.size_t;
end record;
end System.OS_Interface;