summaryrefslogtreecommitdiff
path: root/include/delphi
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-04 11:24:49 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-04 11:24:49 +0300
commit2b6d50f7fdfaca84c3ee82909800ad67d2e99bdc (patch)
tree0fa8e6a2bb01de68127d9e45c27978fb43e267c3 /include/delphi
parent9ae82271f8dc01e32df1c76cfec64771bc5ee6d0 (diff)
NETLIBHTTPREQUEST::cbSize = old unused field removed
Diffstat (limited to 'include/delphi')
-rw-r--r--include/delphi/m_netlib.inc10
1 files changed, 1 insertions, 9 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