]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Previous fix was out by one version tag.
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 12 Oct 2021 21:04:52 +0000 (23:04 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 12 Oct 2021 21:33:17 +0000 (23:33 +0200)
memalign must have been added with FreeBSD 12.2

memcheck/tests/memalign2.c

index c5a8b0e07c677df2f97186d7258030a22f9bd116..a7bdb34c5d74f3f176748bd5305aa28bc196eb78 100644 (file)
@@ -31,7 +31,7 @@ int main ( void )
    int  res;
    assert(sizeof(long int) == sizeof(void*));
 
-#if !defined(VGO_freebsd) || (FREEBSD_VERS >= FREEBSD_12)
+#if !defined(VGO_freebsd) || (FREEBSD_VERS >= FREEBSD_12_2)
    // Check behaviour of memalign/free for big alignment.
    // In particular, the below aims at checking that a
    // superblock with a big size is not marked as reclaimable