Sam Clegg
5cc37d29ec
Fix compiler warnings in Native Client and Linux builds.
2014-06-20 11:10:16 -03:00
Sam Lantinga
0ae88759fb
Integrated David Ludwig's support for Windows RT
2014-03-09 11:36:47 -07:00
Sam Lantinga
32547d0c59
Fixed line endings on WinRT source code
2014-03-09 11:06:11 -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
David Ludwig
529fcd3ee3
WinRT: merged with SDL 2.0.1 codebase
2013-10-27 21:26:46 -04:00
Sam Lantinga
133a4d89f8
SDL 2.0.0 defined __inline__ and some code relies on it now.
2013-10-22 21:53:58 -07:00
Sam Lantinga
803ea95a12
Better fix for bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings
...
Jānis Rūcis
Reopening as compilation with ANSI C throws lots of unnecessary warnings, both using MinGW and using Linux GCC. (BTW, what happened? MinGW is broken to all hell. sdl2-config does not even link SDLMain anymore?)
I think this may have been lost somewhere, so again: GCC supports inlining via __inline__ in all known versions of GCC, regardless of the C standard in use. Please don't assume that __STRICT_ANSI__ implies no inlining support.
2013-10-21 02:32:34 -07: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
David Ludwig
373ffd0dac
WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d6a8fa507a45)
2013-08-12 22:29:55 -04:00
Sam Lantinga
7bab7a4662
Fixed bug 2121 - GCC throws error on SDL_FORCE_INLINE when compiling with -ansi
2013-09-30 22:35:32 -07:00
Ryan C. Gordon
c3f2a8dbda
Added SDL_DEPRECATED #define.
2013-08-20 14:21:35 -04:00
Sam Lantinga
8498376baa
Fixed warnings building with gcc 2 and gcc 4 on Haiku
2013-08-18 23:18:11 -07:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
David Ludwig
18180bc951
WinRT: removed the "generic" + C++/CX hack-fix, now that a better fix is in official-SDL
2013-04-21 12:49:15 -04:00
David Ludwig
f9531484c0
WinRT: hack-fixed C++/CX compile errors regarding the 'generic' field in SDL_Event, which conflicts with a C++/CX keyword
2013-04-14 11:45:01 -04:00
David Ludwig
49820874a9
WinRT: merged with latest, official, SDL 2.x sources (at rev. bea100d73d13)
2013-04-14 11:42:55 -04:00
Ryan C. Gordon
7635069643
Fixed compiler warnings in Mac Xcode builds.
2013-04-03 11:58:04 -04:00
Ryan C. Gordon
a9eb1f14ea
Fixed compiler warnings with SDL_FORCE_INLINE on gcc2. (Thanks, Axel!)
...
Fixes Bugzilla #1770 .
2013-03-29 21:13:16 -04:00
Ryan C. Gordon
fae7c9cf7d
Added an SDL_FORCE_INLINE macro.
2013-03-15 01:02:30 -04:00
David Ludwig
db53df0697
WinRT: merged with latest, official, SDL 2.x code
2013-02-23 20:01:46 -05:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
David Ludwig
db346c5593
WinRT: used Win32-style DECLSPEC and SDLCALL macros (for building a .dll)
2012-10-27 18:21:31 -04:00
Sam Lantinga
1781323edc
Fixed structure alignment mismatch between Visual Studio and gcc on 64-bit architectures.
2012-01-09 07:07:43 -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
ec39fffe84
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
2011-01-24 15:46:11 -08:00
Sam Lantinga
08ad787807
Fixed bug #925
...
Changed "win32" to "windows"
2011-01-20 18:04:05 -08:00
Sam Lantinga
7052036491
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
2010-01-24 21:10:53 +00:00
Sam Lantinga
53023c5ff5
The OS/2 support has been removed, so we don't need this now.
2010-01-07 04:38:58 +00:00
Ryan C. Gordon
1fad5ac7c1
Merged r4717:4718 from branches/SDL-1.2: minor OS/2 DECLSPEC/SDLCALL fixes.
...
I reworked this a little. The 1.2 branch isn't really very elegant about this.
2010-01-06 20:58:03 +00:00
Sam Lantinga
27294b7a4e
Partial fix for bug #859
...
Header file update from Ken for improved doxygen output
2009-10-19 13:31:58 +00:00
Sam Lantinga
a1ee906546
Fixed bug #615
...
Scott McCreary 2008-08-21 10:48:14 PDT
This patch adds support for Haiku.
http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libsdl/SDL-1.2.13-haiku.diff
Haiku is an open-source recreation of BeOS. It has better POSIX compliance
than beOS did, and other improved features, which in some cases causes us to
have to "undo" previous BeOS workarounds.
Here's our port log entry for it, showing the steps to force the changes into
configure and Makefile:
http://ports.haiku-files.org/wiki/media-libs/libsdl/1.2.13/1
Note that this was only tried on 1.2.13 stable so far.
Haiku is using a newer config.guess / config.sub that doesn't yet seem to be in
the released libtool, so we are having to copy it in for now.
http://haiku-files.org/files/optional-packages/
2009-09-21 09:21:00 +00:00
Sam Lantinga
5bee043a89
Removed outdated OS/2 support
2009-09-19 06:43:45 +00:00
Sam Lantinga
befb0f7f42
Updated copyright date
2008-12-08 00:27:32 +00:00
Ryan C. Gordon
43feb9f42f
Merged r3075:3076 from branches/SDL-1.2: Careful with __inline__ #define.
2007-06-15 07:21:01 +00:00
Sam Lantinga
4d17a22012
MacOS Classic is no longer supported.
2006-08-10 14:54:23 +00:00
Sam Lantinga
6bc598ea61
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
2006-07-10 21:04:37 +00:00
Sam Lantinga
b0519469db
Fixes bug #195 :
...
The proper name of Apple's operating system is "Mac OS X" not "MacOS X", as can
bee seen in many places, for example http://www.apple.com/macosx/ ). This
contrasts the naming of the old operating system, which was called "MacOS" and
today is often refered to as "MacOS Classic".
The attached patches fixes the misuse of the name "MacOS X" in both the SDL12
and sdlweb CVS modules.
2006-04-13 13:08:26 +00:00
Sam Lantinga
5542688e36
Only use the visibility attribute in gcc 4.0 or newer
2006-03-23 07:34:03 +00:00
Sam Lantinga
d48c53fb8f
Default to use the visibility attribute, on gcc (is this okay?)
2006-03-22 04:51:44 +00:00
Ryan C. Gordon
b08954dad5
Added support for gcc4's -fvisibility=hidden option.
...
Fixes Bugzilla #169 .
2006-03-22 01:28:36 +00:00
Sam Lantinga
190b425364
Use consistent identifiers for the various platforms we support.
...
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
2006-02-21 08:46:50 +00:00
Ryan C. Gordon
406ef7dae9
OS/2 port!
...
This was mostly, if not entirely, written by "Doodle" and "Caetano":
doodle@scenergy.dfmk.hu
daniel@caetano.eng.br
--ryan.
2005-11-23 07:29:56 +00:00
Sam Lantinga
aa6dff1be1
Avoid gcc parse errors on Win32. This is fine in general because gcc uses
...
the cdecl calling convention by default.
2005-01-08 23:13:01 +00:00
Sam Lantinga
3da2c5f3f9
Date: Fri, 31 Dec 2004 04:14:09 +0900
...
From: Hayashi Naoyuki
Subject: SDL patch for Tru64 UNIX 4.0X
SDL-1.2.8 support only Tru64 5.X.
This patch is for Tru64 UNIX 4.X.(tested on Tru64 UNIX 4.0G and 5.1B)
SDL-1.2.8/configure.in:
ld doesn't accept -pthread option.
cc -pthread has same effect as -D_REENTRANT when compiling,
and has same effect as -lpthread -lexc when linking.
SDL-1.2.8/include/begin_code.h:
Old Compaq C Compiler accept not inline but __inline.
SDL-1.2.8/src/audio/SDL_mixer_MMX.c:
SDL-1.2.8/src/audio/SDL_mixer_MMX.h:
Old Compaq C Compiler doesn't accept //.
SDL-1.2.8/src/cdrom/osf/SDL_syscdrom.c:
When becoming Tru64 v5.0 from Tru64 v4.0,
the arrangement of the cd-rom device was changed.
2005-01-02 05:05:21 +00:00
Sam Lantinga
32719e7429
Updated copyright information for 2004 (Happy New Year!)
2004-01-04 16:49:27 +00:00
Sam Lantinga
034f135e5e
*** empty log message ***
2003-06-28 17:03:57 +00:00
Sam Lantinga
a6a5824013
Fixed precompiled headers on MacOS X
2002-04-13 20:33:15 +00:00
Sam Lantinga
8b5bf373be
Explicitly specify the SDL API calling convention (C by default)
2002-04-11 14:35:16 +00:00