blob: 9536e899ca6c4566367e7be445a25496210654e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- VirtualBox-7.0.0.orig/src/VBox/Runtime/r3/linux/semevent-linux.cpp
+++ VirtualBox-7.0.0/src/VBox/Runtime/r3/linux/semevent-linux.cpp
@@ -35,7 +35,7 @@
*/
#include <features.h>
-#if __GLIBC_PREREQ(2,6) && !defined(IPRT_WITH_FUTEX_BASED_SEMS)
+#if defined(__GLIBC__) && !defined(IPRT_WITH_FUTEX_BASED_SEMS)
/*
* glibc 2.6 fixed a serious bug in the mutex implementation. We wrote this
--- VirtualBox-7.0.0.orig/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
+++ VirtualBox-7.0.0/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
@@ -36,7 +36,7 @@
#include <features.h>
-#if __GLIBC_PREREQ(2,6) && !defined(IPRT_WITH_FUTEX_BASED_SEMS)
+#if defined(__GLIBC__) && !defined(IPRT_WITH_FUTEX_BASED_SEMS)
/*
* glibc 2.6 fixed a serious bug in the mutex implementation. We wrote this
--- VirtualBox-7.0.0.orig/src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp
+++ VirtualBox-7.0.0/src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp
@@ -42,6 +42,6 @@
# define _GNU_SOURCE
#endif
#include <features.h>
-#if __GLIBC_PREREQ(2,4)
+#if defined(__GLIBC__)
#include <sched.h>
|