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

Summary: minor os2 defines
Product: SDL Reporter: Ozkan Sezer <sezeroz>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   
Attachments: 001 -- SDL_SYSWM_OS2 patch
002 -- __OS2__ platform patch
003 -- OS/2 SDLCALL patch

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