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 3752 - minor os2 defines
Summary: minor os2 defines
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-14 14:24 UTC by Ozkan Sezer
Modified: 2017-08-14 17:15 UTC (History)
0 users

See Also:


Attachments
001 -- SDL_SYSWM_OS2 patch (375 bytes, patch)
2017-08-14 14:25 UTC, Ozkan Sezer
Details | Diff
002 -- __OS2__ platform patch (378 bytes, patch)
2017-08-14 14:25 UTC, Ozkan Sezer
Details | Diff
003 -- OS/2 SDLCALL patch (880 bytes, patch)
2017-08-14 14:26 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-08-14 14:24:07 UTC
Attached three patches, so these minor os/2 bits get registered mainstream:

1. SDL_syswm.h: add SDL_SYSWM_OS2 to SDL_SYSWM_TYPE enum
2. SDL_platform.h: recognize __EMX__ too as __OS2__
3. begin_code.h: set SDLCALL as _System for OS/2.
Comment 1 Ozkan Sezer 2017-08-14 14:25:05 UTC
Created attachment 2849 [details]
001 -- SDL_SYSWM_OS2 patch
Comment 2 Ozkan Sezer 2017-08-14 14:25:45 UTC
Created attachment 2850 [details]
002 -- __OS2__ platform patch
Comment 3 Ozkan Sezer 2017-08-14 14:26:22 UTC
Created attachment 2851 [details]
003 -- OS/2 SDLCALL patch
Comment 4 Sam Lantinga 2017-08-14 17:15:56 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/4d2a6202caa4