Commit graph

23 commits

Author SHA1 Message Date
Ryan C. Gordon
1e4e388318 Make sure __inline__ isn't defined before #defining it, since some compilers
(like Sun Studio) have this as a predefined macro.

   Fixes Bugzilla #434.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402354
2007-06-15 07:19:05 +00:00
Sam Lantinga
be0f0ff107 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401628
2006-04-13 13:08:26 +00:00
Sam Lantinga
14da84d333 Only use the visibility attribute in gcc 4.0 or newer
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401602
2006-03-23 07:34:03 +00:00
Sam Lantinga
e0c405fad1 Default to use the visibility attribute, on gcc (is this okay?)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401578
2006-03-22 04:51:44 +00:00
Ryan C. Gordon
0fc4f94726 Added support for gcc4's -fvisibility=hidden option.
Fixes Bugzilla #169.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401577
2006-03-22 01:28:36 +00:00
Sam Lantinga
c36118165e 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401406
2006-02-21 08:46:50 +00:00
Ryan C. Gordon
b08452cb40 OS/2 port!
This was mostly, if not entirely, written by "Doodle" and "Caetano":
    doodle@scenergy.dfmk.hu
    daniel@caetano.eng.br

--ryan.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401193
2005-11-23 07:29:56 +00:00
Sam Lantinga
21ddee0a10 Avoid gcc parse errors on Win32. This is fine in general because gcc uses
the cdecl calling convention by default.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401026
2005-01-08 23:13:01 +00:00
Sam Lantinga
3fbec58eb2 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401020
2005-01-02 05:05:21 +00:00
Sam Lantinga
cb9c2efd17 Updated copyright information for 2004 (Happy New Year!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40770
2004-01-04 16:49:27 +00:00
Sam Lantinga
1b6ff6d1c7 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40637
2003-06-28 17:03:57 +00:00
Sam Lantinga
4bf624786e Fixed precompiled headers on MacOS X
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40347
2002-04-13 20:33:15 +00:00
Sam Lantinga
808d714de4 Explicitly specify the SDL API calling convention (C by default)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40338
2002-04-11 14:35:16 +00:00
Sam Lantinga
ea5d630479 Updated copyright information for 2002
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40298
2002-03-06 11:23:08 +00:00
Sam Lantinga
bae3b1e1e1 Updated for Watcom C++ and LCC compilers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40289
2002-02-28 00:28:26 +00:00
Sam Lantinga
fb441e589b David Snopek added Borland compiler support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40275
2002-02-13 17:45:24 +00:00
Sam Lantinga
c565735afa Updated the headers with the correct e-mail address
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40252
2001-12-14 12:37:47 +00:00
Sam Lantinga
d521252694 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40196
2001-09-23 21:10:30 +00:00
Sam Lantinga
e21a23a6a8 Date: Thu, 13 Sep 2001 14:14:42 -0400
From: "David Chait" <davebytes@hotmail.com>
Subject: sdlmods.zip
-- Message: 502   --  Next: 503 N --------------------------------------------

now bracketed with (MWERKS && macintosh), so it'll work under metrowerks under any kind of mac build.  Project Builder probably uses pack properly as it is GCC under the covers, so not worrying about it... :)

it sets packing to 68K 4-byte alignment, and turns on enumsalwaysint.  resets them both to project defaults when done.  note that if a project sets these things in a header and expects the settings to last throughout a C file (which is a nasty thing to do), it won't work.  I think there's an overall-state push/pop system, but it's a deprecated interface so I'm loathe to use it...

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40190
2001-09-23 18:10:59 +00:00
Sam Lantinga
9ad41a58f3 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40188
2001-09-23 16:53:51 +00:00
Sam Lantinga
ce3a1900be Added initial support for EPOC/Symbian OS (thanks Hannu!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40174
2001-09-11 20:38:49 +00:00
Sam Lantinga
32bf9a536b Added support for Visual C++ inline keyword
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4086
2001-07-02 00:10:19 +00:00
Sam Lantinga
2f110628a7 Initial revision
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401
2001-04-26 16:45:43 +00:00