From 0de028016dabec3965761cb1f0461d909ec910ea Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 31 Jul 2025 19:30:25 +0200 Subject: [PATCH] os: osdep: drop WIN32 compat for uname() Since nothing on WIN32 (mingw) targets is calling uname() anymore, this compat code is now obsolete. Signed-off-by: Enrico Weigelt, metux IT consult --- os/osdep.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/os/osdep.h b/os/osdep.h index 76202226b3..7487ee2796 100644 --- a/os/osdep.h +++ b/os/osdep.h @@ -122,13 +122,6 @@ Bool TimerForce(OsTimerPtr timer); #ifdef WIN32 #include -struct utsname { - char nodename[512]; -}; - -static inline void uname(struct utsname *uts) { - gethostname(uts->nodename, sizeof(uts->nodename)); -} const char *Win32TempDir(void);