mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
svn -> git Migration
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef __OPENEQ_GLOBALS__
|
||||
#define __OPENEQ_GLOBALS__
|
||||
|
||||
#ifdef WIN32
|
||||
#define Polygon Polygon_Win32
|
||||
#include <winsock.h>
|
||||
#undef Polygon
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
||||
#endif
|
||||
|
||||
typedef unsigned long uint32;
|
||||
typedef long int32;
|
||||
|
||||
typedef unsigned short uint16;
|
||||
typedef short int16;
|
||||
|
||||
typedef unsigned char uint8;
|
||||
typedef unsigned char uchar;
|
||||
typedef char int8;
|
||||
|
||||
uint16 GetUint16(uchar **buf);
|
||||
uint32 GetUint32(uchar **buf);
|
||||
|
||||
#define uint16(buf) \
|
||||
GetUint16((uchar **) &buf)
|
||||
#define uint32(buf) \
|
||||
GetUint32((uchar **) &buf)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user