Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
cowlib
cowlib-2.7.3-cow_ws-zlib.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cowlib-2.7.3-cow_ws-zlib.patch of Package cowlib
diff --git a/src/cow_ws.erl b/src/cow_ws.erl index d24dc12..c97effe 100644 --- a/src/cow_ws.erl +++ b/src/cow_ws.erl @@ -246,6 +246,12 @@ init_permessage_deflate(InflateWindowBits, DeflateWindowBits, Opts) -> {Inflate, Deflate}. -ifdef(OTP_RELEASE). +-if(?OTP_RELEASE >= 21). +-define(OTP_RELEASE_21, ?OTP_RELEASE). +-endif. +-endif. + +-ifdef(OTP_RELEASE_21). %% Using is_port/1 on a zlib context results in a Dialyzer warning in OTP 21. %% This function helps silence that warning while staying compatible %% with all supported versions.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor