summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-07-19 23:24:19 +0200
committerRobin Gareus <robin@gareus.org>2015-07-19 23:24:19 +0200
commit7742d07b3ab40916b09352d97bc708d08ead2255 (patch)
treead30a8949f1c9e6ad76e494719b1306031eed2b0
parent2f10fb5b96afc66410b884b7e201f7f1a38b1620 (diff)
fix compilation w/o posix_malign
-rw-r--r--libs/pbd/malign.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/pbd/malign.cc b/libs/pbd/malign.cc
index e9695cd91c..4be9f0a9e8 100644
--- 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
+}