summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/utils/asymptote/runlabel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/runlabel.cc b/Build/source/utils/asymptote/runlabel.cc
index 6e54c5dcd9e..2df1d839bfb 100644
--- a/Build/source/utils/asymptote/runlabel.cc
+++ b/Build/source/utils/asymptote/runlabel.cc
@@ -165,9 +165,9 @@ array *readpath(const string& psname, bool keep,
if(s.empty() || !gs.running()) break;
gs << newl;
-#ifdef __APPLE__
+// Workaround broken stringstream container in MacOS 10.9 libc++.
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__ )
for(string::iterator i=s.begin(); i != s.end(); ++i) {
- // Workaround broken stringstream container in MacOS 10.9 libc++.
if(isalpha(*i) && *i != 'e') {buf << " ";}
buf << *i;
}