2013-09-22 05:36:17 +00:00
|
|
|
#ifdef __linux__
|
2013-10-08 15:30:22 +00:00
|
|
|
#include "linux/getroot.c"
|
2013-09-22 05:36:17 +00:00
|
|
|
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
2013-10-08 15:30:22 +00:00
|
|
|
#include "freebsd/getroot.c"
|
2013-09-22 05:36:17 +00:00
|
|
|
#elif defined(__NetBSD__) || defined(__OpenBSD__)
|
2013-10-08 15:30:22 +00:00
|
|
|
#include "bsd/getroot.c"
|
2013-09-22 05:36:17 +00:00
|
|
|
#elif defined(__APPLE__)
|
2013-10-08 15:30:22 +00:00
|
|
|
#include "apple/getroot.c"
|
2013-09-22 05:36:17 +00:00
|
|
|
#elif defined(__sun__)
|
2013-10-08 15:30:22 +00:00
|
|
|
#include "sun/getroot.c"
|
2013-09-22 05:36:17 +00:00
|
|
|
#elif defined(__GNU__)
|
2013-10-08 15:30:22 +00:00
|
|
|
#include "hurd/getroot.c"
|
2013-09-23 09:21:09 +00:00
|
|
|
#elif defined(__CYGWIN__) || defined (__MINGW32__)
|
2013-10-08 15:30:22 +00:00
|
|
|
#include "windows/getroot.c"
|
2013-10-04 00:35:03 +00:00
|
|
|
#elif defined(__AROS__)
|
2013-10-08 15:30:22 +00:00
|
|
|
#include "aros/getroot.c"
|
2013-09-22 05:36:17 +00:00
|
|
|
#else
|
|
|
|
# warning "No getroot OS-specific functions is available for your system. Device detection may not work properly."
|
2013-10-08 15:30:22 +00:00
|
|
|
#include "basic/getroot.c"
|
2013-09-22 05:36:17 +00:00
|
|
|
#endif
|