fix build with bionic c

This commit is contained in:
tarsin
2022-03-04 09:28:18 +08:00
parent 9f3c4123a2
commit 187b2bbc68
2 changed files with 6 additions and 1 deletions

View File

@@ -566,7 +566,7 @@ void X11OpenGLWindow::enableOpenGL()
//Access pthreads as a workaround for a bug in Linux/Ubuntu
//See https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319/+bug/1248642
#if !defined(__NetBSD__)
#if !defined(__NetBSD__) && !defined(__ANDROID__)
int i = pthread_getconcurrency();
printf("pthread_getconcurrency()=%d\n", i);
#endif