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

Summary: fix SDL_thread.h for emx
Product: SDL Reporter: Ozkan Sezer <sezeroz>
Component: threadAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: OS/2   
Attachments: SDL_thread.h patch for os2 /emx
SDL_thread.h os2 /emx patch for SDL1.2

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.