Ozkan Sezer
cf7b94f292
ran 'chmod -x' on two files
2018-06-30 20:03:23 +03:00
Ozkan Sezer
08de74ec49
use the 'aborts' pragma of Watcom for SDL_NORETURN functions
...
SDL_ExitProcess(), SDL_AbortAssertion() and SDLTest_BailOut().
(Commit 303c1e0fb0cf for bug #4100 removed SDL_NORETURN from
SDL_ExitProcess() and SDL_AbortAssertion() in order to avoid
warnings from windows builds, but that's temporary I guess..)
2018-06-13 14:45:02 +03:00
Ozkan Sezer
41da7b79c0
ran 'chmod -x' on many files
2018-06-12 14:00:15 +03:00
Ozkan Sezer
425149f47b
remove testvulkan.vcproj (was a VS2008 left-over.)
2018-05-11 09:37:00 +03:00
Ozkan Sezer
652d59fb3b
make sure SDL_vsnprintf() nul terminates if it is using _vsnprintf
...
The change makes sure that SDL_vsnprintf() nul terminates if it is
using _vsnprintf() for the job.
I made this patch for Watcom, whose _vsnprintf() doesn't guarantee
nul termination. The preprocessor check can be extended to windows
in general too, if required.
Closes bug #3769 .
2018-05-10 09:02:39 +03:00
Ozkan Sezer
c11ae93aed
SDL_stdinc.h: move the alloca() includes before begin_code.h
2018-05-10 08:28:00 +03:00
Ozkan Sezer
fe032ff4c9
do the direct3d tap dance for overscan hint only if SDL_VIDEO_RENDER_D3D == 1
2018-05-10 08:25:23 +03:00
Ozkan Sezer
500378eb52
Add atomics for Watcom/x86 as inline asm
...
Partially fixes Bugzilla #3758 .
2017-08-18 16:35:55 -04:00
Ozkan Sezer
c68d3ab785
Watcom supports __FUNCTION__ identifier (and surely not __PRETTY_FUNCTION__)
...
Partially fixes Bugzilla #3758 .
2017-08-17 21:35:46 -04:00
Ozkan Sezer
bdb7bfd79b
SDL_assert.h: add inline asm (int $3) as SDL_TriggerBreakpoint for Watcom/x86
...
(also disable SIGTRAP case to !watcom, because watcom doesn't have SIGTRAP.)
Partially fixes Bugzilla #3758 .
2017-08-17 21:32:42 -04:00
Ozkan Sezer
fbda68ea7b
SDL_endian.h: add SDL_Swap16 and SDL_Swap32 for Watcom/x86 as inline asm
...
Partially fixes Bugzilla #3758 .
2017-08-17 21:32:00 -04:00
Ozkan Sezer
eccbe366bc
SDL_bits.h: add __builtin_clz equivalent for Watcom/x86 as inline asm
...
Partially fixes Bugzilla #3758 .
2017-08-17 21:30:29 -04:00