summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/runlabel.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/runlabel.in')
-rw-r--r--Build/source/utils/asymptote/runlabel.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/runlabel.in b/Build/source/utils/asymptote/runlabel.in
index 1b22683b907..961e2e9e65a 100644
--- a/Build/source/utils/asymptote/runlabel.in
+++ b/Build/source/utils/asymptote/runlabel.in
@@ -121,9 +121,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;
}