summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-04-28 21:32:27 +0000
committerpfg <pfg@FreeBSD.org>2015-04-28 21:32:27 +0000
commitdcbfab84a48ecd5cfc7b2b48b8ce18bf7b31a574 (patch)
treeab749738b9b4c7a9a74f8e5de8ce2419dfcf65b2 /gnu/lib
parent7ec5a529b401793ac7b99bad4b10abe655908a4a (diff)
downloadFreeBSD-src-dcbfab84a48ecd5cfc7b2b48b8ce18bf7b31a574.zip
FreeBSD-src-dcbfab84a48ecd5cfc7b2b48b8ce18bf7b31a574.tar.gz
libgomp: bring initial BSD support from upstream.
Initial support for FreeBSD specific routines related to counting online processors and dynamic load balancing. Fix "detection" of the <sys/sysctl> header which upstream seems to have done wrong. Obtained from: GCC pre-4.4 branch (rev. 140497; LGPLv2.1+)
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libgomp/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/lib/libgomp/config.h b/gnu/lib/libgomp/config.h
index 3a17657..547e692 100644
--- a/gnu/lib/libgomp/config.h
+++ b/gnu/lib/libgomp/config.h
@@ -55,6 +55,9 @@
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
+/* Define to 1 if you have the <sys/sysctl.h> header file. */
+#define HAVE_SYS_SYSCTL_H 1
+
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
OpenPOWER on IntegriCloud