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:
parent
6789b911c4
commit
f837dee79d
|
@ -184,7 +184,7 @@ RunXkbComp(xkbcomp_buffer_callback callback, void *userdata)
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
if (Pclose(out) == 0)
|
if (Pclose(out) == 0)
|
||||||
#else
|
#else
|
||||||
if (fclose(out) == 0 && System(buf) >= 0)
|
if (fclose(out) == 0 && system(buf) >= 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
if (xkbDebugFlags)
|
if (xkbDebugFlags)
|
||||||
|
|
Loading…
Reference in New Issue