issue#11: cds: changed __CDS_ guard prefix to CDSLIB_ for all .h files
[libcds.git] / cds / os / topology.h
1 //$$CDS-header$$
2
3 #ifndef CDSLIB_OS_TOPOLOGY_H
4 #define CDSLIB_OS_TOPOLOGY_H
5
6 #include <cds/details/defs.h>
7
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>
24 #else
25 #   error Unknown OS. Compilation aborted
26 #endif
27
28 #endif  // #ifndef CDSLIB_OS_TOPOLOGY_H