2013-09-22 05:36:17 +00:00
|
|
|
#ifdef __linux__
|
|
|
|
#include "getroot_linux.c"
|
|
|
|
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
|
|
|
#include "getroot_freebsd.c"
|
|
|
|
#elif defined(__NetBSD__) || defined(__OpenBSD__)
|
|
|
|
#include "getroot_bsd.c"
|
|
|
|
#elif defined(__APPLE__)
|
|
|
|
#include "getroot_apple.c"
|
|
|
|
#elif defined(__sun__)
|
|
|
|
#include "getroot_sun.c"
|
|
|
|
#elif defined(__GNU__)
|
|
|
|
#include "getroot_hurd.c"
|
2013-09-23 09:21:09 +00:00
|
|
|
#elif defined(__CYGWIN__) || defined (__MINGW32__)
|
|
|
|
#include "getroot_windows.c"
|
2013-10-04 00:35:03 +00:00
|
|
|
#elif defined(__AROS__)
|
|
|
|
#include "getroot_aros.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."
|
|
|
|
#include "getroot_basic.c"
|
|
|
|
#endif
|