Skip to content

Commit

Permalink
Fix mingwx64 compilation (#3808)
Browse files Browse the repository at this point in the history
  • Loading branch information
e5l authored Nov 6, 2023
1 parent 4af16bb commit 8daecf7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import platform.winhttp.*

internal typealias WinHttpStatusHandler = (statusInfo: LPVOID?, statusInfoLength: DWORD) -> Unit

internal class WinHttpConnect @OptIn(ExperimentalForeignApi::class) constructor(private val hConnect: COpaquePointer) :
internal class WinHttpConnect(private val hConnect: COpaquePointer) :
Closeable {

private val closed = atomic(false)
Expand All @@ -27,9 +27,7 @@ internal class WinHttpConnect @OptIn(ExperimentalForeignApi::class) constructor(
* Opens an HTTP request to the target server.
* @param method is request method.
* @param url is request URL.
* @param chunkedMode is request body chunking mode.
*/

fun openRequest(
method: HttpMethod,
url: Url,
Expand Down

0 comments on commit 8daecf7

Please sign in to comment.