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