Skip to content

Add macOS support#4

Open
mlinton wants to merge 2 commits into
rgcaudio:mainfrom
mlinton:macos-port
Open

Add macOS support#4
mlinton wants to merge 2 commits into
rgcaudio:mainfrom
mlinton:macos-port

Conversation

@mlinton

@mlinton mlinton commented Mar 10, 2026

Copy link
Copy Markdown

This PR adds support for macOS. Changes include:

  • Fixed file encodings (UTF-16LE to UTF-8)
  • Replaced Windows-specific terminal APIs (windows.h, Sleep, GetAsyncKeyState, SetConsoleTextAttribute) with POSIX alternatives (unistd.h, termios.h, fcntl.h)
  • Added WinTypes.h to define Windows types required by ftd2xx.h on UNIX platforms
  • Created a Makefile for building with clang++
  • Fixed compiler warnings and mismatched format types for std::min and printf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant