Browse Source

Fix AtomicObject cpp error conditional (#11674)

Aidan Lee 1 year ago
parent
commit
68dbebd397
1 changed files with 1 additions and 1 deletions
  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