From 171e8aeba2ca486d0a9049341ef91594683663ea Mon Sep 17 00:00:00 2001 From: David Brownlee Date: Thu, 9 Mar 2023 10:50:43 +0000 Subject: [PATCH] Add fallback LEADOUT_TRACK_NUMBER = 0xAA for non Win/Mac/Linux (Linux and Windows also use 0xAA) This allows atomicparsley to build on other platforms such as NetBSD and FreeBSD, without affecting any behaviour on supported platforms --- src/CDtoc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CDtoc.cpp b/src/CDtoc.cpp index ec4a5d4..aac2b77 100644 --- a/src/CDtoc.cpp +++ b/src/CDtoc.cpp @@ -76,6 +76,8 @@ uint8_t LEADOUT_TRACK_NUMBER = CDROM_LEADOUT; #elif defined(_WIN32) uint8_t LEADOUT_TRACK_NUMBER = 0xAA; // NOTE: for WinXP IOCTL_CDROM_READ_TOC_EX code, its 0xA2 +#else +uint8_t LEADOUT_TRACK_NUMBER = 0xAA; #endif /*