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 3807

Summary: Remove restriction from DECLSPEC macro for OS/2
Product: SDL Reporter: Ozkan Sezer <sezeroz>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: OS/2   

Description Ozkan Sezer 2017-09-09 14:40:31 UTC
The following patch removes the unnecessary / wrong
Watcom restriction from the DECLSPEC macro for OS/2.

diff --git a/include/begin_code.h b/include/begin_code.h
--- a/include/begin_code.h
+++ b/include/begin_code.h
@@ -61,7 +61,7 @@
 #  else
 #   define DECLSPEC __declspec(dllexport)
 #  endif
-# elif defined(__OS2__) && defined(__WATCOMC__)
+# elif defined(__OS2__)
 #   ifdef BUILD_SDL
 #    define DECLSPEC    __declspec(dllexport)
 #   else
Comment 1 Sam Lantinga 2017-09-09 14:42:49 UTC
Fixed!
https://hg.libsdl.org/SDL/rev/27a1926addec