mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 18:01:34 +00:00
* FreeBSD fixes/updates from Andreas Kohn
This commit is contained in:
parent
6ceb4a64e4
commit
4bc5c29115
8 changed files with 81 additions and 28 deletions
|
@ -216,6 +216,37 @@ void Sys_PumpEvents( void );
|
|||
|
||||
#endif
|
||||
|
||||
//======================= FreeBSD DEFINES =================================
|
||||
|
||||
// the mac compiler can't handle >32k of locals, so we
|
||||
// just waste space and make big arrays static...
|
||||
#ifdef __FreeBSD__
|
||||
|
||||
// bk001205 - from Makefile
|
||||
#define stricmp strcasecmp
|
||||
|
||||
#define MAC_STATIC // bk: FIXME
|
||||
|
||||
#ifdef __i386__
|
||||
#define CPUSTRING "freebsd-i386"
|
||||
#elif defined __axp__
|
||||
#define CPUSTRING "freebsd-alpha"
|
||||
#else
|
||||
#define CPUSTRING "freebsd-other"
|
||||
#endif
|
||||
|
||||
#define PATH_SEP '/'
|
||||
|
||||
// bk001205 - try
|
||||
#ifdef Q3_STATIC
|
||||
#define GAME_HARD_LINKED
|
||||
#define CGAME_HARD_LINKED
|
||||
#define UI_HARD_LINKED
|
||||
#define BOTLIB_HARD_LINKED
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
//=============================================================
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue