Stuffing some MorphOS code on CVS.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1183 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
63ff3fd453
commit
b171e40621
1 changed files with 7 additions and 0 deletions
|
@ -9,7 +9,9 @@
|
|||
cvar_t plug_sbar = {"plug_sbar", "1"};
|
||||
cvar_t plug_loaddefault = {"plug_loaddefault", "1"};
|
||||
|
||||
#ifdef RGLQUAKE
|
||||
#include "glquake.h"
|
||||
#endif
|
||||
|
||||
typedef struct plugin_s {
|
||||
char *name;
|
||||
|
@ -815,9 +817,14 @@ int Plug_Con_RenameSub(void *offset, unsigned int mask, const long *arg)
|
|||
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __MORPHOS__
|
||||
#define closesocket CloseSocket
|
||||
#define ioctlsocket IoctlSocket
|
||||
#else
|
||||
#define closesocket close
|
||||
#define ioctlsocket ioctl
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef enum{
|
||||
STREAM_NONE,
|
||||
|
|
Loading…
Reference in a new issue