Skip to content

macOS support #10

Open
SgSiegens wants to merge 5 commits into
danihek:mainfrom
SgSiegens:main
Open

macOS support #10
SgSiegens wants to merge 5 commits into
danihek:mainfrom
SgSiegens:main

Conversation

@SgSiegens

Copy link
Copy Markdown

Add macOS support

Got hellpaper running on macOS with two small changes.

1. Makefile — added macOS-specific flags following the raylib macOS build guide, using uname so both platforms work automatically.

2. hellpaper.csys/sysinfo.h is Linux-specific (see) and breaks compilation on macOS. Guarded it with #ifdef __linux__ since sysconf(_SC_NPROCESSORS_ONLN) already comes from <unistd.h>.

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