mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
fix Atomic shims on < 4.12
This commit is contained in:
parent
326e1e2abd
commit
d62d5515f1
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
let atomic_before_412 = {|
|
let atomic_before_412 = {|
|
||||||
type !'a t = {mutable x: 'a}
|
type 'a t = {mutable x: 'a}
|
||||||
let[@inline] make x = {x}
|
let[@inline] make x = {x}
|
||||||
let[@inline] get {x} = x
|
let[@inline] get {x} = x
|
||||||
let[@inline] set r x = r.x <- x
|
let[@inline] set r x = r.x <- x
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue