mirror of
https://github.com/UberGames/ioef.git
synced 2025-05-30 08:50:56 +00:00
* (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)
* (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>) * (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>) * For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0
This commit is contained in:
parent
881988636a
commit
31c24bd0d2
25 changed files with 10014 additions and 103 deletions
|
@ -19,13 +19,11 @@ along with Quake III Arena source code; if not, write to the Free Software
|
|||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
===========================================================================
|
||||
*/
|
||||
#include <unistd.h>
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
|
@ -34,8 +32,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include <errno.h>
|
||||
|
||||
#ifndef DEDICATED
|
||||
#include "SDL.h"
|
||||
#include "SDL_cpuinfo.h"
|
||||
#ifdef USE_LOCAL_HEADERS
|
||||
# include "SDL.h"
|
||||
# include "SDL_cpuinfo.h"
|
||||
#else
|
||||
# include <SDL.h>
|
||||
# include <SDL_cpuinfo.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "sys_local.h"
|
||||
|
@ -163,10 +166,7 @@ void Sys_Exit( int ex )
|
|||
#endif
|
||||
|
||||
#ifdef NDEBUG
|
||||
// _exit is called instead of exit since there are rumours of
|
||||
// GL libraries installing atexit calls that we don't want to call
|
||||
// FIXME: get some testing done with plain exit
|
||||
_exit(ex);
|
||||
exit(ex);
|
||||
#else
|
||||
// Cause a backtrace on error exits
|
||||
assert( ex == 0 );
|
||||
|
@ -436,7 +436,6 @@ void *Sys_LoadDll( const char *name, char *fqpath ,
|
|||
{
|
||||
void *libHandle;
|
||||
void (*dllEntry)( intptr_t (*syscallptr)(intptr_t, ...) );
|
||||
char curpath[MAX_OSPATH];
|
||||
char fname[MAX_OSPATH];
|
||||
char *basepath;
|
||||
char *homepath;
|
||||
|
@ -445,7 +444,6 @@ void *Sys_LoadDll( const char *name, char *fqpath ,
|
|||
|
||||
assert( name );
|
||||
|
||||
getcwd(curpath, sizeof(curpath));
|
||||
Q_snprintf (fname, sizeof(fname), "%s" ARCH_STRING DLL_EXT, name);
|
||||
|
||||
// TODO: use fs_searchpaths from files.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue