Skip to content

Update to SDL 3.4.20 - #53

Open
jayschwa wants to merge 1 commit into
mainfrom
jayschwa/sdl-3.4.20
Open

jayschwa wants to merge 1 commit into
mainfrom
jayschwa/sdl-3.4.20

Conversation

@jayschwa

Copy link
Copy Markdown
Collaborator

The upstream build config added:

  • HAVE_PTHREAD_CONDATTR_SETCLOCK
  • HAVE_SEM_CLOCKWAIT
  • HAVE_SEM_CLOCKWAIT_NP

It looks like pthread_condattr_setclock is the only one with long-standing support in both glibc and musl, so it's the only one I added to this project's build config.

The upstream build config added:

- `HAVE_PTHREAD_CONDATTR_SETCLOCK`
- `HAVE_SEM_CLOCKWAIT`
- `HAVE_SEM_CLOCKWAIT_NP`

It looks like `pthread_condattr_setclock` is the only one with
long-standing support in both glibc and musl, so it's the only one I
added to this project's build config.
@jayschwa

Copy link
Copy Markdown
Collaborator Author

As an aside, it sure would be nice if the Zig build system supported target probes (e.g. "does header exist", "does symbol exist", etc) like CMake.

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