56 Commits

Author SHA1 Message Date
Michael Martin 562917b456 Merge post-0.7.0 commits through 'c8250d8b8' into v0.7.2.
sdl_common.c has lost some commits in the restructuring and those
will need to be replayed over the restructured files for SDL1 and 2.
2020-04-03 17:43:49 -07:00
Michael Martin 7907e36fd4 Lose Apple branch of SDL_include and prefer non-system headers 2019-11-16 22:09:21 -08:00
Michael Martin b724f372dd Enhance config script to allow selecting SDL1 or 2 backends 2019-08-16 00:51:23 -07:00
Michael Martin 65f5b27f8d Remove the last vestige of the internal SDL_IMAGE macros 2019-08-10 15:41:11 -07:00
Michael Martin 6428238e51 Update all problematic include guards.
All-caps identifiers that start with an underscore may be reserved
for compiler or library use, and recent versions of gcc or glibc
have been stealing symbols away from us.
2018-01-20 18:02:03 -08:00
Meep-Eep 8ab9c69b55 Preparing for linking with C++ code, from Scott A. Colcord.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3663 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-24 19:58:25 +00:00
avolkov 076b8ad3e2 One more warning that GCC produces (to match same in MSVC)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3449 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 04:58:10 +00:00
avolkov 1a8a26faf4 Match warnings between GCC and MSVC reasonably closely
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3447 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-12-19 03:06:37 +00:00
avolkov 4c4a80c64b MSVC compilation fix for vsnprintf()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3362 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-28 19:21:08 +00:00
Meep-Eep 1c6b9baa73 Make snprintf/vsnprintf more compatible with the C standard on MSVC.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3361 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-11-28 18:00:46 +00:00
gewlitys 50664a6f71 Experimental support for Symbian S60 3rd edition
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3064 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-31 00:34:29 +00:00
Meep-Eep ace60da23b Handle paths of the form "d:foo/bar" on platforms which don't have a current working directory per drive.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3057 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-30 18:25:41 +00:00
Meep-Eep ad25f17f1e No UNC paths on Symbian.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3044 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-22 20:04:48 +00:00
Meep-Eep 5ed92e6942 Support drive letters and UNC paths on some non-Windows platforms.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3043 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-22 19:57:35 +00:00
avolkov 3a5ffa0a11 Removed defines that are only used inside uio context and cause redefinition warnings (let uio define them)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2979 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-05-19 21:31:34 +00:00
avolkov fe995a2f7f _M_AMD64 is deprecated in favor of _M_X64; newer includes may need it later
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2965 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-04-10 22:55:55 +00:00
Meep-Eep c804dcfce7 correction
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2889 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-24 00:26:27 +00:00
Meep-Eep 6360807951 Typo
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2888 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 15:11:32 +00:00
Meep-Eep 99cefbb5d3 Make the logfile unbuffered by default on Windows CE.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2886 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 06:11:46 +00:00
Meep-Eep 02ef0c439e Windows CE support.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2884 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 05:26:44 +00:00
Meep-Eep c1bafdfc45 Correction.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2882 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 04:54:41 +00:00
Meep-Eep 23c74b2b63 Added support to the unix build system for explicitely specifying the name of
the define to set to show when a symbol is found.
Also a fix for when 'strcasecmp' is #define'd by the system.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2881 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-12-23 04:41:19 +00:00
Meep-Eep cba93f7fce uio cleanups, documentation
path fixes, improvements
Fixes bugs 738, 907


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2641 8092fc87-c524-0410-9efc-e669fe64eaf9
2007-01-03 16:58:59 +00:00
meep-eep c930b365f3 Fix compilation on FreeBSD.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2582 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-12-07 23:24:09 +00:00
meep-eep 5dbf05a3ee More fixes for MinGW build.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2470 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-10-27 21:30:41 +00:00
meep-eep c243c3a73f Some improvements towards successful build with netplay on MinGW.
Proabaly not completely there yet.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2464 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-10-27 01:20:13 +00:00
meep-eep 620c00c52c Netplay
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2463 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-10-26 22:17:03 +00:00
avolkov e043094eae noreturn gcc attr; from meep
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2402 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-08-08 22:39:51 +00:00
meep-eep 0fa135a2db va_list argument is never useful at compile time
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2345 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-05-03 22:53:50 +00:00
meep-eep dcc59f4cf8 Mark log functions as printf-type functions.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2344 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-05-03 21:17:12 +00:00
avolkov 2511798bf3 Converted fprintf(stderr) to logging facility (most)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2334 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-04-28 01:35:31 +00:00
avolkov 08443a64f7 Not using iswgraph() anywhere and not going to
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2170 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-13 03:31:53 +00:00
avolkov cbb38e0e81 A more precise iswgraph() backup (forgot to commit before)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2163 8092fc87-c524-0410-9efc-e669fe64eaf9
2006-01-12 00:46:02 +00:00
avolkov 9bb12ab6a1 Somewhat different conditions for unistd.h (MinGW has it) [same update for uioport.h should be done]
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1904 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-10-15 04:32:44 +00:00
meep-eep f5a731a50e little fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1745 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-05-14 11:13:42 +00:00
meep-eep 42189a7dda ssize_t not necessary anymore for MinGW.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1738 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-05-12 14:58:33 +00:00
meep-eep 4d4f59e614 Fallback readdir_r().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1737 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-05-11 10:33:55 +00:00
meep-eep 4e59dce102 Different version of SDL_INCLUDE.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1690 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-26 22:37:10 +00:00
meep-eep 946280ddac Fixes for SDL detection.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1681 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-24 17:52:09 +00:00
meep-eep 37c9a3760f __APPLE__, not APPLE
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1674 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-23 23:45:31 +00:00
meep-eep cad8f6f54d Fix SDL detection.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1671 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-23 23:23:16 +00:00
meep-eep c8bcea18de define strcasecmp to stricmp if the latter is available.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1647 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-18 14:28:08 +00:00
meep-eep 3da6407d41 Compilation fixes for platforms without wint_t or wchar_t.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1569 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-27 13:41:48 +00:00
meep-eep 1fc8050ce0 Some detection improvements to the build system.
Also checks added form iswgraph(), wchar_t, and int_t.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1566 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-26 21:22:29 +00:00
meep-eep 1f34d4e5cf More compatible handling of alloca.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1455 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-18 09:04:06 +00:00
meep-eep 3f51b805d6 Get rid of alloca() warning for Solaris
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1450 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-17 20:14:38 +00:00
meep-eep 3d6ac76629 NAME_MAX for Solaris
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1449 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-17 19:19:28 +00:00
meep-eep 1a42d65a63 Some fixes, enhancements for environment handling.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1424 8092fc87-c524-0410-9efc-e669fe64eaf9
2004-11-23 23:53:15 +00:00
meep-eep 32eb481811 MinGW compilation fixes.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1068 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-19 01:20:50 +00:00
meep-eep f7c97f2ba7 New io/packaging system.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1035 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-08 18:17:40 +00:00