projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f10fb5
)
fix compilation w/o posix_malign
author
Robin Gareus
<robin@gareus.org>
Sun, 19 Jul 2015 21:24:19 +0000
(23:24 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sun, 19 Jul 2015 21:24:19 +0000
(23:24 +0200)
libs/pbd/malign.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/malign.cc
b/libs/pbd/malign.cc
index e9695cd91c0e6fc32671004b56e118d66714b2b8..4be9f0a9e8f008b37b47477fc961d1a70192491f 100644
(file)
--- a/
libs/pbd/malign.cc
+++ b/
libs/pbd/malign.cc
@@
-47,8
+47,6
@@
int cache_aligned_malloc (void** memptr, size_t size)
return 0;
}
#else
- std::string << string_compose (_("Memory allocation error: malloc (%1 * %2)"),
- CPU_CACHE_ALIGN, size) << endmsg;
if (((*memptr) = malloc (size)) == 0) {
fatal << string_compose (_("Memory allocation error: malloc (%1 * %2) failed (%3)"),
CPU_CACHE_ALIGN, size, strerror (errno)) << endmsg;
@@
-113,4
+111,4
@@
void aligned_free (void* memptr)
#else
free (memptr);
#endif
-}
\ No newline at end of file
+}