Browse Source

Fix AtomicObject cpp error conditional (#11674)

Aidan Lee 1 năm trước cách đây
mục cha
commit
68dbebd397
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/haxe/atomic/AtomicObject.hx

+ 1 - 1
std/haxe/atomic/AtomicObject.hx

@@ -4,7 +4,7 @@ package haxe.atomic;
 #error "This target does not support atomic operations."
 #end
 
-#if (js || hxcpp)
+#if (js || cpp)
 #error "JavaScript and Hxcpp do not support AtomicObject"
 #end