mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
75ec95b17c
License-Update: URI updates [1] [2] Fix build with glibc 2.32 while here [1] https://github.com/DOCGroup/ACE_TAO/commit/5564c9667dc17bc7826e54efe7dae79334218a03#diff-134809fa00f40b726d607f36dffcc5cc [2] https://github.com/DOCGroup/ACE_TAO/commit/289a4a8e0006f7a20e8de568334f74ba74f7a4bf#diff-134809fa00f40b726d607f36dffcc5cc Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 lines
607 B
Diff
23 lines
607 B
Diff
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 <raj.khem@gmail.com>
|
|
--- 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)
|