Apply win32 workaround only on Windows 32bits.
This commit is contained in:
@@ -31,9 +31,12 @@ feature {NONE} -- Initialization
|
|||||||
|
|
||||||
apply_workaround
|
apply_workaround
|
||||||
-- Due to issue with Eiffel cURL on Windows 32bits
|
-- Due to issue with Eiffel cURL on Windows 32bits
|
||||||
-- we need to do the following workaround
|
-- we need to do the following workaround.
|
||||||
|
local
|
||||||
|
add: detachable INET_ADDRESS
|
||||||
once
|
once
|
||||||
if attached (create {INET_ADDRESS_FACTORY}).create_localhost then
|
if {PLATFORM}.is_windows then
|
||||||
|
add := (create {INET_ADDRESS_FACTORY}).create_localhost
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -449,7 +452,7 @@ feature {NONE} -- Implementation
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
note
|
||||||
copyright: "2011-2017, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
copyright: "2011-2018, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
Reference in New Issue
Block a user