-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
License-Update: URI updates [1] [2] Fix build with glibc 2.32 while here [1] DOCGroup/ACE_TAO@5564c96#diff-134809fa00f40b726d607f36dffcc5cc [2] DOCGroup/ACE_TAO@289a4a8#diff-134809fa00f40b726d607f36dffcc5cc Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
glibc >= 2.32 has removed sys/sysctl.h see | ||
|
||
https://sourceware.org/git/?p=glibc.git;a=commit;h=076f09afbac1aa57756faa7a8feadb7936a724e4 | ||
|
||
This check therefore ensures that its only used on linux when glibc has support for it | ||
|
||
Upstream-Status: Pending | ||
|
||
Signed-off-by: Khem Raj <[email protected]> | ||
--- a/ace/config-linux.h | ||
+++ b/ace/config-linux.h | ||
@@ -20,6 +20,10 @@ | ||
|
||
#include "ace/config-linux-common.h" | ||
|
||
+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 32) | ||
+# define ACE_LACKS_SYS_SYSCTL_H | ||
+#endif | ||
+ | ||
#define ACE_HAS_BYTESEX_H | ||
|
||
#if (defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= 500) |