BeOS changes by Kenneth Sanislo.

This commit is contained in:
johns 2000-08-13 12:34:57 +00:00
parent 3c115bead8
commit 429b3b3dfe
3 changed files with 10 additions and 0 deletions
src
include
network
video

View file

@ -130,8 +130,10 @@ typedef LISP (*SUBR_FUNC)(void);
#define TKBUFFERN 5120
#ifndef WIN32
#ifndef __stdcall
#define __stdcall
#endif
#endif
struct gen_readio

View file

@ -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)))
//----------------------------------------------------------------------------

View file

@ -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