win32: use lib system() instead of our own function

mingw32 has system() function, so we don't need our own implementation
anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1778>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-10 11:00:45 +01:00
parent 6789b911c4
commit f837dee79d

View File

@ -184,7 +184,7 @@ RunXkbComp(xkbcomp_buffer_callback callback, void *userdata)
#ifndef WIN32
if (Pclose(out) == 0)
#else
if (fclose(out) == 0 && System(buf) >= 0)
if (fclose(out) == 0 && system(buf) >= 0)
#endif
{
if (xkbDebugFlags)