Skip to content

Commit

Permalink
linux: ULONG_PTR is not pointer to unsigned long, it is unsigned long…
Browse files Browse the repository at this point in the history
… type used for pointer precision
  • Loading branch information
q4a committed May 19, 2018
1 parent e6bcf2e commit 5a11dfe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Common/PlatformLinux.inl
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,17 @@ typedef unsigned int UINT;
typedef int INT;
typedef long LONG;
typedef unsigned long ULONG;
typedef unsigned long& ULONG_PTR;
typedef long long int LARGE_INTEGER;
typedef unsigned long long int ULARGE_INTEGER;
typedef unsigned long ULONG_PTR, *PULONG_PTR;
//typedef unsigned long& ULONG_PTR;
//typedef long long int LARGE_INTEGER;
//typedef unsigned long long int ULARGE_INTEGER;

typedef unsigned short WORD;
typedef unsigned short* LPWORD;
typedef unsigned long DWORD;
typedef unsigned long* LPDWORD;
typedef const void *LPCVOID;
typedef long long int *PLARGE_INTEGER;
//typedef long long int *PLARGE_INTEGER;

typedef wchar_t WCHAR;

Expand Down

0 comments on commit 5a11dfe

Please sign in to comment.