pragma Ada_2012;

pragma Style_Checks (Off);
pragma Warnings (Off, "-gnatwu");

with Interfaces.C; use Interfaces.C;
with Interfaces.C.Extensions;
with Interfaces.C.Strings;

package corecrt_h is

  --*
  -- * This file has no copyright assigned and is placed in the Public Domain.
  -- * This file is part of the mingw-w64 runtime package.
  -- * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  --  

  -- #define __ERRCODE_DEFINED_MS  
   subtype size_t is Extensions.unsigned_long_long;  -- D:/M/msys64/mingw64/include/corecrt.h:35

   subtype ssize_t is Long_Long_Integer;  -- D:/M/msys64/mingw64/include/corecrt.h:45

   subtype rsize_t is size_t;  -- D:/M/msys64/mingw64/include/corecrt.h:52

   subtype intptr_t is Long_Long_Integer;  -- D:/M/msys64/mingw64/include/corecrt.h:62

   subtype uintptr_t is Extensions.unsigned_long_long;  -- D:/M/msys64/mingw64/include/corecrt.h:75

   subtype ptrdiff_t is Long_Long_Integer;  -- D:/M/msys64/mingw64/include/corecrt.h:88

   subtype wchar_t is unsigned_short;  -- D:/M/msys64/mingw64/include/corecrt.h:98

   subtype wint_t is unsigned_short;  -- D:/M/msys64/mingw64/include/corecrt.h:106

   subtype wctype_t is unsigned_short;  -- D:/M/msys64/mingw64/include/corecrt.h:107

   subtype errno_t is int;  -- D:/M/msys64/mingw64/include/corecrt.h:113

   subtype uu_time32_t is long;  -- D:/M/msys64/mingw64/include/corecrt.h:118

   subtype uu_time64_t is Long_Long_Integer;  -- D:/M/msys64/mingw64/include/corecrt.h:123

   subtype time_t is uu_time64_t;  -- D:/M/msys64/mingw64/include/corecrt.h:138

   type threadmbcinfostruct is null record;   -- incomplete struct

   type threadlocaleinfostruct;
   type pthreadlocinfo is access all threadlocaleinfostruct;  -- D:/M/msys64/mingw64/include/corecrt.h:432

   type pthreadmbcinfo is access all threadmbcinfostruct;  -- D:/M/msys64/mingw64/include/corecrt.h:433

   type uu_lc_time_data is null record;   -- incomplete struct

   type localeinfo_struct is record
      locinfo : pthreadlocinfo;  -- D:/M/msys64/mingw64/include/corecrt.h:437
      mbcinfo : pthreadmbcinfo;  -- D:/M/msys64/mingw64/include/corecrt.h:438
   end record
   with Convention => C_Pass_By_Copy;  -- D:/M/msys64/mingw64/include/corecrt.h:436

   subtype u_locale_tstruct is localeinfo_struct;  -- D:/M/msys64/mingw64/include/corecrt.h:439

   type u_locale_t is access all localeinfo_struct;  -- D:/M/msys64/mingw64/include/corecrt.h:439

   type tagLC_ID is record
      wLanguage : aliased unsigned_short;  -- D:/M/msys64/mingw64/include/corecrt.h:444
      wCountry : aliased unsigned_short;  -- D:/M/msys64/mingw64/include/corecrt.h:445
      wCodePage : aliased unsigned_short;  -- D:/M/msys64/mingw64/include/corecrt.h:446
   end record
   with Convention => C_Pass_By_Copy;  -- D:/M/msys64/mingw64/include/corecrt.h:443

   subtype LC_ID is tagLC_ID;  -- D:/M/msys64/mingw64/include/corecrt.h:447

   type LPLC_ID is access all tagLC_ID;  -- D:/M/msys64/mingw64/include/corecrt.h:447

   type lconv is null record;   -- incomplete struct

   type anon_array1068 is array (0 .. 5) of aliased unsigned_long;
   type anon_array1069 is array (0 .. 5) of aliased LC_ID;
   type anon_struct1071 is record
      locale : Interfaces.C.Strings.chars_ptr;  -- D:/M/msys64/mingw64/include/corecrt.h:464
      wlocale : access wchar_t;  -- D:/M/msys64/mingw64/include/corecrt.h:465
      refcount : access int;  -- D:/M/msys64/mingw64/include/corecrt.h:466
      wrefcount : access int;  -- D:/M/msys64/mingw64/include/corecrt.h:467
   end record
   with Convention => C_Pass_By_Copy;
   type anon_array1074 is array (0 .. 5) of aliased anon_struct1071;
   type threadlocaleinfostruct is record
      refcount : aliased int;  -- D:/M/msys64/mingw64/include/corecrt.h:458
      lc_codepage : aliased unsigned;  -- D:/M/msys64/mingw64/include/corecrt.h:459
      lc_collate_cp : aliased unsigned;  -- D:/M/msys64/mingw64/include/corecrt.h:460
      lc_handle : aliased anon_array1068;  -- D:/M/msys64/mingw64/include/corecrt.h:461
      lc_id : aliased anon_array1069;  -- D:/M/msys64/mingw64/include/corecrt.h:462
      lc_category : aliased anon_array1074;  -- D:/M/msys64/mingw64/include/corecrt.h:468
      lc_clike : aliased int;  -- D:/M/msys64/mingw64/include/corecrt.h:469
      mb_cur_max : aliased int;  -- D:/M/msys64/mingw64/include/corecrt.h:470
      lconv_intl_refcount : access int;  -- D:/M/msys64/mingw64/include/corecrt.h:471
      lconv_num_refcount : access int;  -- D:/M/msys64/mingw64/include/corecrt.h:472
      lconv_mon_refcount : access int;  -- D:/M/msys64/mingw64/include/corecrt.h:473
      the_lconv : access lconv;  -- D:/M/msys64/mingw64/include/corecrt.h:474
      ctype1_refcount : access int;  -- D:/M/msys64/mingw64/include/corecrt.h:475
      ctype1 : access unsigned_short;  -- D:/M/msys64/mingw64/include/corecrt.h:476
      pctype : access unsigned_short;  -- D:/M/msys64/mingw64/include/corecrt.h:477
      pclmap : access unsigned_char;  -- D:/M/msys64/mingw64/include/corecrt.h:478
      pcumap : access unsigned_char;  -- D:/M/msys64/mingw64/include/corecrt.h:479
      lc_time_curr : access uu_lc_time_data;  -- D:/M/msys64/mingw64/include/corecrt.h:480
   end record
   with Convention => C_Pass_By_Copy;  -- D:/M/msys64/mingw64/include/corecrt.h:452

   subtype threadlocinfo is threadlocaleinfostruct;  -- D:/M/msys64/mingw64/include/corecrt.h:482

end corecrt_h;

pragma Style_Checks (On);
pragma Warnings (On, "-gnatwu");
