Add a couple of visibility specifiers that were missing
[ardour.git] / libs / pbd / fpu.cc
index 5d81cd2fd35e52407c9177b50bacceb621a565b7..b12d341366fe8c4ae701ebb845f613535d2be7bf 100644 (file)
@@ -39,11 +39,14 @@ FPU::FPU ()
 
        _flags = Flags (0);
 
+#if defined(__MINGW64__) // Vkamyshniy: under __MINGW64__ the assembler code below is not compiled
+       return;
+#endif
+
 #if !( (defined __x86_64__) || (defined __i386__) ) // !ARCH_X86
        return;
 #else
 
-       
 #ifndef _LP64 //USE_X86_64_ASM
        asm volatile (
                "mov $1, %%eax\n"
@@ -105,9 +108,9 @@ FPU::FPU ()
                *fxbuf = (char *) malloc (512);
                assert (*fxbuf);
 #else
-               posix_memalign ((void **) &fxbuf, 16, sizeof (char *));
+               (void) posix_memalign ((void **) &fxbuf, 16, sizeof (char *));
                assert (fxbuf);
-               posix_memalign ((void **) fxbuf, 16, 512);
+               (void) posix_memalign ((void **) fxbuf, 16, 512);
                assert (*fxbuf);
 #endif