Shawn Walker
f0b0159135
2620 solaris port missing atomics if not using gcc
2014-07-05 16:11:23 -07:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Ryan C. Gordon
46a0b527dc
Patched to compile on Android (I think).
2014-01-08 00:40:48 -05:00
Ryan C. Gordon
03d5719413
Make internal SDL sources include SDL_internal.h instead of SDL_config.h
...
The new header will include SDL_config.h, but allows for other global stuff.
2013-11-24 23:56:17 -05:00
Ryan C. Gordon
572834c79a
Patched stdlib changes to compile on Windows.
2013-12-09 13:30:35 -05:00
Ryan C. Gordon
19706b10e9
Moved atomic API implementation out of headers.
2013-11-24 21:04:51 -05:00
Sam Lantinga
e7b498cf26
Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings
...
Andreas Ertelt
The problem in question is caused by changeset 7771 (http://hg.libsdl.org/SDL/rev/4434498bf4b9 / https://bugzilla.libsdl.org/show_bug.cgi?id=2121 )
The redefinition of __inline__ (introduced by the addition of begin_code.h:128's "|| __STRICT_ANSI__") results in mingw's gcc throwing multiple
warning: always_inline function might not be inlinable [-Wattributes]
as well as a whole bunch of redefinitions of mingw internals which break linking of projects including the SDL2 headers.
2013-10-20 21:56:15 -07:00
Sam Lantinga
7889fcdc7d
Added PowerPC and ARM versions of the memory barrier functions.
2013-07-10 20:17:20 -07:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Sam Lantinga
e4ff0d5a17
Put the real SDL_AtomicCAS() and SDL_AtomicCASPtr() symbols into the library.
2013-03-07 20:42:55 -08:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
b3d60cfcbb
Removed executable bit from source files
2012-09-27 14:35:28 -07:00
Sam Lantinga
d4c4a98f59
Make sure that we use consistent configuration options on platforms like Windows so that command line builds and IDE builds have ABI compatibility.
...
Make sure we don't clobber SDL_revision.h when building from Mercurial
2012-01-14 13:21:19 -05:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
a2cdcf5486
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
3dc1009723
Improvements based on feedback from Anthony Williams
2011-01-25 17:40:06 -08:00
Sam Lantinga
89d48a0f83
Added native atomic operations for Windows, Mac OS X, and gcc compiler intrinsics.
...
Changed the CAS return value to bool, so it's efficient with OSAtomicCompareAndSwap32Barrier()
Added an atomic test adapted from code by Michael Davidsaver
2011-01-16 15:16:39 -08:00
Sam Lantinga
38e31e4598
Updated the atomic API for better use cases
2011-01-15 12:41:59 -08:00