diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_netlib.inc | 10 | ||||
-rw-r--r-- | include/m_netlib.h | 1 |
2 files changed, 1 insertions, 10 deletions
diff --git a/include/delphi/m_netlib.inc b/include/delphi/m_netlib.inc index 74744ac3df..253c836a4d 100644 --- a/include/delphi/m_netlib.inc +++ b/include/delphi/m_netlib.inc @@ -102,10 +102,9 @@ type end;
ANETLIBHTTPHEADER = array [0..1000] of TNETLIBHTTPHEADER;
- PNETLIBHTTPREQUEST = ^TNETLIBHTTPREQUEST;
+ PNETLIBHTTPREQUEST = ^TNETLIBHTTPREQUEST;
TNETLIBHTTPREQUEST = record
- cbSize :int;
requestType :int; // REQUEST_* constant
flags :dword;
szUrl :PAnsiChar;
@@ -120,13 +119,6 @@ type timeout :int; // Mirver 9.0+
end;
-const
- {$IFNDEF WIN64}
- NETLIBHTTPREQUEST_V1_SIZE = 44;
- {$ELSE}
- NETLIBHTTPREQUEST_V1_SIZE = SIZEOF(TNETLIBHTTPREQUEST);
- {$ENDIF}
-
type
PNETLIBUSER = ^TNETLIBUSER;
TNETLIBUSER = record
diff --git a/include/m_netlib.h b/include/m_netlib.h index b2f52be372..c667d760fb 100644 --- a/include/m_netlib.h +++ b/include/m_netlib.h @@ -450,7 +450,6 @@ EXTERN_C MIR_APP_DLL(char*) Netlib_GetHeader(const NETLIBHTTPREQUEST *pRec, cons struct NETLIBHTTPREQUEST
{
- int cbSize;
int requestType; // a REQUEST_
uint32_t flags;
char *szUrl;
|