1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

DISK: Add Linux host support for direct CDROM access

This commit is contained in:
Mark Pizzolato
2018-05-26 12:33:50 -07:00
parent 874f60cbaa
commit 83234f1e9d
2 changed files with 57 additions and 4 deletions

View File

@@ -495,6 +495,12 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
ifneq (,$(call find_include,semaphore))
OS_CCDEFS += -DHAVE_SEMAPHORE
endif
ifneq (,$(call find_include,sys/ioctl))
OS_CCDEFS += -DHAVE_SYS_IOCTL
endif
ifneq (,$(call find_include,linux/cdrom))
OS_CCDEFS += -DHAVE_LINUX_CDROM
endif
ifneq (,$(call find_include,dlfcn))
ifneq (,$(call find_lib,dl))
OS_CCDEFS += -DHAVE_DLOPEN=$(LIBEXT)