forked from valve/halflife-sdk
common: add port header to redefine Windows stuff like POINT or DWORD in portable manner
This commit is contained in:
parent
edbd7d2ab9
commit
978d5f94a2
1 changed files with 15 additions and 0 deletions
15
common/port.h
Normal file
15
common/port.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef PORT_H
|
||||
#define PORT_H
|
||||
|
||||
// a1ba: customized port.h for HLSDK 2.2/TheWastes
|
||||
|
||||
#ifndef _WIN32
|
||||
typedef struct POINT_s
|
||||
{
|
||||
int x;
|
||||
int y;
|
||||
} POINT;
|
||||
typedef unsigned int DWORD;
|
||||
#endif // _WIN32
|
||||
|
||||
#endif // PORT_H
|
Loading…
Reference in a new issue