hostdisk.c 703 B

1234567891011121314151617181920212223
  1. #ifdef __linux__
  2. #include "linux/hostdisk.c"
  3. #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
  4. #include "freebsd/hostdisk.c"
  5. #elif defined(__NetBSD__) || defined(__OpenBSD__)
  6. #include "bsd/hostdisk.c"
  7. #elif defined(__APPLE__)
  8. #include "apple/hostdisk.c"
  9. #elif defined(__sun__)
  10. #include "sun/hostdisk.c"
  11. #elif defined(__GNU__)
  12. #include "hurd/hostdisk.c"
  13. #elif defined(__CYGWIN__) || defined(__MINGW32__)
  14. #include "windows/hostdisk.c"
  15. #elif defined(__AROS__)
  16. #include "aros/hostdisk.c"
  17. #elif defined (__HAIKU__)
  18. #include "haiku/hostdisk.c"
  19. #else
  20. # warning "No hostdisk OS-specific functions is available for your system. Device detection may not work properly."
  21. #include "basic/hostdisk.c"
  22. #endif