os: drop redefining getpid() on mingw32

mingw32 does does have getpid() function, so conditionally redefining
it to _getpid() isn't necessary.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1686>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-09-11 12:12:59 +02:00 committed by Marge Bot
parent e5b5b302d3
commit 27a5c59180

View File

@ -97,11 +97,6 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include "opaque.h" #include "opaque.h"
#ifdef WIN32
#include <process.h>
#define getpid(x) _getpid(x)
#endif
#ifdef XF86BIGFONT #ifdef XF86BIGFONT
#include "xf86bigfontsrv.h" #include "xf86bigfontsrv.h"
#endif #endif