-- since on that platform socket errno values are distinct from the system
-- ones: there is a specific variant of this function in g-socthi-mingw.adb.
-with System.CRTL;
+with System.CRTL.Runtime;
separate (GNAT.Sockets.Thin)
(Errno : Integer) return C.Strings.chars_ptr
is
use type Interfaces.C.Strings.chars_ptr;
- C_Msg : constant C.Strings.chars_ptr := System.CRTL.strerror (Errno);
+ C_Msg : constant C.Strings.chars_ptr :=
+ System.CRTL.Runtime.strerror (Errno);
begin
if C_Msg = C.Strings.Null_Ptr then