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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-31 19:30:25 +02:00
committed by Enrico Weigelt
parent 7b1283268c
commit 0de028016d

View File

@@ -122,13 +122,6 @@ Bool TimerForce(OsTimerPtr timer);
#ifdef WIN32
#include <X11/Xwinsock.h>
struct utsname {
char nodename[512];
};
static inline void uname(struct utsname *uts) {
gethostname(uts->nodename, sizeof(uts->nodename));
}
const char *Win32TempDir(void);