mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
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:
committed by
Enrico Weigelt
parent
7b1283268c
commit
0de028016d
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user