Move doc for PBD::sys::path_is_within to header
[ardour.git] / libs / pbd / malign.cc
index b8aa61c9978fef3722b7abade347a23be1906e29..44361aa70a3fc1c64e3bd22370987d37e25dc0fa 100644 (file)
@@ -18,7 +18,7 @@ static const int CPU_CACHE_ALIGN = 16; /* arguably 32 on most arches, but it mat
 
 int cache_aligned_malloc (void** memptr, size_t size)
 {
-#ifdef NO_POSIX_MEMALIGN
+#ifndef HAVE_POSIX_MEMALIGN
        if (((*memptr) = malloc (size)) == 0) {
                fatal << string_compose (_("Memory allocation error: malloc (%1 * %2) failed (%3)"),
                                         CPU_CACHE_ALIGN, size, strerror (errno)) << endmsg;