getroot.c 693 B

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