mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2025-12-16 12:08:36 +00:00
19 lines
454 B
C
19 lines
454 B
C
#ifndef __BASICTYPES_H__
|
|
#define __BASICTYPES_H__
|
|
|
|
typedef unsigned char byte;
|
|
typedef unsigned short word;
|
|
typedef unsigned int dword;
|
|
typedef unsigned long long ddword;
|
|
typedef unsigned long long dword64;
|
|
typedef long long long64;
|
|
typedef unsigned long pword;
|
|
#undef NULL
|
|
#define NULL 0
|
|
|
|
#define ELEMENTSIZE(a) (sizeof(a[0]))
|
|
#define ARRAYSIZE(a) (sizeof(a) / sizeof(a[0]))
|
|
#define OFFSETOF(t, m) ((long)&(((t *)0)->m))
|
|
|
|
#endif // __BASICTYPES_H__
|