Skip to content
Snippets Groups Projects
Commit 690e32cc authored by Reinier Maas's avatar Reinier Maas
Browse files

Fix: `SpinLock` not defined

parent 6186cee4
No related branches found
No related tags found
No related merge requests found
Pipeline #96244 canceled
......@@ -8,6 +8,8 @@
#pragma once
#if !defined(CMINUSMINUS)
#if defined(THREADED_RTS)
// needed for HEAP_ALLOCED below
extern SpinLock gc_alloc_block_sync;
......@@ -16,6 +18,8 @@ extern SpinLock gc_alloc_block_sync;
#define ACQUIRE_ALLOC_BLOCK_SPIN_LOCK() ACQUIRE_SPIN_LOCK(&gc_alloc_block_sync)
#define RELEASE_ALLOC_BLOCK_SPIN_LOCK() RELEASE_SPIN_LOCK(&gc_alloc_block_sync)
#endif // !defined(CMINUSMINUS)
/* -----------------------------------------------------------------------------
The HEAP_ALLOCED() test.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment