solaris systems build fix (#425)
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
#include <test/setup.h>
|
||||
#include <test/xoroshiro.h>
|
||||
#include <unordered_set>
|
||||
#if defined(__linux__) && !defined(SNMALLOC_QEMU_WORKAROUND)
|
||||
#if (defined(__linux__) || defined(__sun)) && !defined(SNMALLOC_QEMU_WORKAROUND)
|
||||
/*
|
||||
* We only test allocations with limited AS on linux for now.
|
||||
* We only test allocations with limited AS on linux and Solaris for now.
|
||||
* It should be a good representative for POSIX systems.
|
||||
* QEMU `setrlimit64` does not behave as the same as native linux,
|
||||
* so we need to exclude it from such tests.
|
||||
|
||||
Reference in New Issue
Block a user