Skip to content

Macosx build support#9

Open
RetroFloppySupport wants to merge 1 commit intotroglobit:masterfrom
RetroFloppySupport:master
Open

Macosx build support#9
RetroFloppySupport wants to merge 1 commit intotroglobit:masterfrom
RetroFloppySupport:master

Conversation

@RetroFloppySupport
Copy link

I added a couple of niceties in order to build successfully on a "more modern" OSX (14.7 (23H124) in my case)

  • Update configure.ac

Update system guesses to be more like Linux than BSD; works better for "more modern" OSX

  • Update for OSX compile issues

Defining _POSIX_C_SOURCE to a value equal or greater than 200809L allows us to re-acquire non-standard library functions (strdup() in our case is a posix extension) that strict ANSI checking hides.

* Update configure.ac

Update system guesses to be more like Linux than BSD; works better for "modern" OSX

* Update for OSX compile issues

Defining _POSIX_C_SOURCE to a value equal or greater than 200809L allows us to re-acquire non-standard library functions (strdup() in our case is a posix extension) that strict ANSI checking allows.
@RetroFloppySupport
Copy link
Author

In the course of looking at your repo, I realize you've got another PR that actually helps mine - the BSD fixes proposed by #7 offer a much better environment for Mac OSX, but it still requires the _POSIX_C_SOURCE definition from my PR. I'm happy to collaborate on a combined patch if/when you revisit this project.

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