Update declaration of gettid to comply to glibc 2.30+
This commit is contained in:
parent
6eb0a7f35a
commit
059e5c80f5
2
video.c
2
video.c
|
@ -539,7 +539,7 @@ static int X11HaveDPMS(xcb_connection_t *);
|
||||||
static void X11DPMSReenable(xcb_connection_t *);
|
static void X11DPMSReenable(xcb_connection_t *);
|
||||||
static void X11DPMSDisable(xcb_connection_t *);
|
static void X11DPMSDisable(xcb_connection_t *);
|
||||||
#endif
|
#endif
|
||||||
uint64_t gettid()
|
uint64_t sys_gettid()
|
||||||
{
|
{
|
||||||
return pthread_self();
|
return pthread_self();
|
||||||
}
|
}
|
||||||
|
|
4
video.h
4
video.h
|
@ -254,9 +254,9 @@ extern int VideoRaiseWindow(void);
|
||||||
extern void ActivateOsd(GLuint,int,int,int,int);
|
extern void ActivateOsd(GLuint,int,int,int,int);
|
||||||
#endif
|
#endif
|
||||||
#if 0
|
#if 0
|
||||||
long int gettid()
|
long int sys_gettid()
|
||||||
{
|
{
|
||||||
return (long int)syscall(224);
|
return (long int)syscall(__NR_gettid);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue