hwloc: Include Linux or FreeBSD symbols depending on OS we are compiling on.
This commit is contained in:
parent
4f1a1f19e9
commit
7ab834a58b
5
third_party/hwloc/static-components.h
vendored
5
third_party/hwloc/static-components.h
vendored
@ -22,8 +22,13 @@ static const struct hwloc_component* hwloc_static_components[] = {
|
||||
&hwloc_xml_component,
|
||||
&hwloc_synthetic_component,
|
||||
&hwloc_xml_nolibxml_component,
|
||||
#ifdef __Linux__
|
||||
&hwloc_linux_component,
|
||||
&hwloc_linuxio_component,
|
||||
#endif
|
||||
#ifdef __FreeBSD__
|
||||
&hwloc_freebsd_component,
|
||||
#endif
|
||||
#if defined(__x86_64__) || defined(__amd64__) || defined(_M_IX86) || \
|
||||
defined(_M_X64)
|
||||
&hwloc_x86_component,
|
||||
|
Loading…
Reference in New Issue
Block a user