Add support for Commodore Amiga

This commit is contained in:
Cameron Armstrong
2023-12-23 19:47:38 +08:00
committed by Cameron Armstrong (Nightfox)
parent 961c31f8ed
commit 4feebc1cd6
3 changed files with 81 additions and 19 deletions

View File

@@ -95,7 +95,7 @@ endif() # end "standalone mode" block
# ---------------------------------
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) # for getrusage
if (HAVE_SYS_RESOURCE_H)
if (HAVE_SYS_RESOURCE_H AND NOT AMIGA)
check_symbol_exists(getrusage "sys/resource.h" HAVE_GETRUSAGE)
endif()