projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a couple of visibility specifiers that were missing
[ardour.git]
/
libs
/
pbd
/
fpu.cc
diff --git
a/libs/pbd/fpu.cc
b/libs/pbd/fpu.cc
index 5d81cd2fd35e52407c9177b50bacceb621a565b7..b12d341366fe8c4ae701ebb845f613535d2be7bf 100644
(file)
--- a/
libs/pbd/fpu.cc
+++ b/
libs/pbd/fpu.cc
@@
-39,11
+39,14
@@
FPU::FPU ()
_flags = Flags (0);
_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
#if !( (defined __x86_64__) || (defined __i386__) ) // !ARCH_X86
return;
#else
-
#ifndef _LP64 //USE_X86_64_ASM
asm volatile (
"mov $1, %%eax\n"
#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
*fxbuf = (char *) malloc (512);
assert (*fxbuf);
#else
- posix_memalign ((void **) &fxbuf, 16, sizeof (char *));
+
(void)
posix_memalign ((void **) &fxbuf, 16, sizeof (char *));
assert (fxbuf);
assert (fxbuf);
- posix_memalign ((void **) fxbuf, 16, 512);
+
(void)
posix_memalign ((void **) fxbuf, 16, 512);
assert (*fxbuf);
#endif
assert (*fxbuf);
#endif