BeOS changes by Kenneth Sanislo.
This commit is contained in:
parent
3c115bead8
commit
429b3b3dfe
3 changed files with 10 additions and 0 deletions
src
|
@ -130,8 +130,10 @@ typedef LISP (*SUBR_FUNC)(void);
|
|||
#define TKBUFFERN 5120
|
||||
|
||||
#ifndef WIN32
|
||||
#ifndef __stdcall
|
||||
#define __stdcall
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
struct gen_readio
|
||||
|
|
|
@ -56,6 +56,10 @@
|
|||
#endif // !WIN32
|
||||
#endif // !USE_SDL_NET
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
#define INADDR_NONE -1
|
||||
#endif
|
||||
|
||||
#define BASE_OF(type, elem, p) ((type *)((char *)(p) - offsetof(type, elem)))
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
|
@ -28,6 +28,10 @@
|
|||
#include <sys/time.h>
|
||||
#include <SDL/SDL.h>
|
||||
|
||||
#ifdef USE_BEOS
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
#ifdef USE_WIN32
|
||||
#include <winsock.h>
|
||||
#undef DrawText
|
||||
|
|
Loading…
Add table
Reference in a new issue