3 #ifndef CDSLIB_OS_TOPOLOGY_H
4 #define CDSLIB_OS_TOPOLOGY_H
6 #include <cds/details/defs.h>
8 #if CDS_OS_TYPE == CDS_OS_WIN32 || CDS_OS_TYPE == CDS_OS_WIN64 || CDS_OS_TYPE == CDS_OS_MINGW
9 # include <cds/os/win/topology.h>
10 #elif CDS_OS_TYPE == CDS_OS_LINUX
11 # include <cds/os/linux/topology.h>
12 #elif CDS_OS_TYPE == CDS_OS_SUN_SOLARIS
13 # include <cds/os/sunos/topology.h>
14 #elif CDS_OS_TYPE == CDS_OS_HPUX
15 # include <cds/os/hpux/topology.h>
16 #elif CDS_OS_TYPE == CDS_OS_AIX
17 # include <cds/os/aix/topology.h>
18 #elif CDS_OS_TYPE == CDS_OS_FREE_BSD || CDS_OS_TYPE == CDS_OS_OPEN_BSD || CDS_OS_TYPE == CDS_OS_NET_BSD
19 # include <cds/os/free_bsd/topology.h>
20 #elif CDS_OS_TYPE == CDS_OS_OSX
21 # include <cds/os/osx/topology.h>
22 #elif CDS_OS_TYPE == CDS_OS_PTHREAD || CDS_OS_INTERFACE == CDS_OSI_UNIX
23 # include <cds/os/posix/fake_topology.h>
25 # error Unknown OS. Compilation aborted
28 #endif // #ifndef CDSLIB_OS_TOPOLOGY_H