mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Remove "UINT_PTR" and "LONG_PTR", use original type everywhere
This commit is contained in:
1 parent
b4cd4ce360
commit
1c56562cc7
2 files changed
+12
-8
No files matched your search
@@ -191,10 +191,6 @@ typedef unsigned int UINT;
|
||||
typedef unsigned int UINT32;
|
||||
typedef unsigned int DWORD;
|
||||
typedef signed int INT;
|
||||
|
||||
typedef int UINT_PTR;
|
||||
typedef long LONG_PTR;
|
||||
|
||||
#endif
|
||||
|
||||
// 16bit integer type
|
||||
@@ -224,7 +220,11 @@ typedef signed long long time_64t;
|
||||
typedef int SOCKET;
|
||||
#else // OS_UNIX
|
||||
#ifndef _WINSOCK2API_
|
||||
typedef UINT_PTR SOCKET;
|
||||
#ifdef CPU_64
|
||||
typedef unsigned __int64 SOCKET;
|
||||
#else
|
||||
typedef unsigned int SOCKET;
|
||||
#endif // CPU_64
|
||||
#endif // _WINSOCK2API_
|
||||
#endif // OS_UNIX
|
||||
|
||||
|
||||
Reference in new issue
Block a user