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 3842 - fix SDL_thread.h for emx
Summary: fix SDL_thread.h for emx
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: thread (show other bugs)
Version: HG 2.0
Hardware: x86 OS/2
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-23 07:35 UTC by Ozkan Sezer
Modified: 2017-09-23 19:40 UTC (History)
0 users

See Also:


Attachments
SDL_thread.h patch for os2 /emx (1.39 KB, patch)
2017-09-23 07:35 UTC, Ozkan Sezer
Details | Diff
SDL_thread.h os2 /emx patch for SDL1.2 (336 bytes, patch)
2017-09-23 07:53 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ozkan Sezer 2017-09-23 07:35:17 UTC
Created attachment 2957 [details]
SDL_thread.h patch for os2 /emx

EMX declares _beginthread() / _endthread() in stdlib.h, not process.h.
The attached patch updates the OS/2 case of SDL_thread.h for it.  (It
also tidies the unreadable whitespace in win32 case.)
Comment 1 Ozkan Sezer 2017-09-23 07:53:59 UTC
Created attachment 2958 [details]
SDL_thread.h os2 /emx patch for SDL1.2

And here is an SDL1.2 version of the patch.