We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4667 - Build errors on Linux when building without Threads support
Summary: Build errors on Linux when building without Threads support
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: All Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.10
Depends on:
Blocks:
 
Reported: 2019-06-17 00:04 UTC by Manuel Sabogal
Modified: 2019-06-17 15:38 UTC (History)
1 user (show)

See Also:


Attachments
linux.patch (335 bytes, patch)
2019-06-17 00:04 UTC, Manuel Sabogal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Sabogal 2019-06-17 00:04:59 UTC
Created attachment 3826 [details]
linux.patch

There is an issue on the latest commit of the mercurial repo when SDL_THREADS_DISABLED is set:

src/core/linux/SDL_threadprio.c:79:28: error: unknown type name 'Sint64'; did you mean 'int'

I attach a patch that fixes this.
Comment 1 Ryan C. Gordon 2019-06-17 05:10:22 UTC
Shoot, I thought we fixed this a long time ago.  :/

--ryan.
Comment 2 Sam Lantinga 2019-06-17 15:38:53 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/71ddabe9ad73