mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-31 07:26:59 +02:00
Hide getGCCycles when we have no GC
Alternatively, we could make it return 0, but we don't need it in the first place because the caller exists conditionally too.
This commit is contained in:
parent
eb89e50cbb
commit
5d6bc484be
1 changed files with 3 additions and 1 deletions
|
@ -15,9 +15,11 @@ void initGC();
|
|||
*/
|
||||
void assertGCInitialized();
|
||||
|
||||
#ifdef HAVE_BOEHMGC
|
||||
/**
|
||||
* The number of GC cycles since initGC().
|
||||
*/
|
||||
size_t getGCCycles();
|
||||
#endif
|
||||
|
||||
}
|
||||
} // namespace nix
|
||||
|
|
Loading…
Reference in a new issue