diff options
Diffstat (limited to 'graphics/asymptote/runlabel.cc')
-rw-r--r-- | graphics/asymptote/runlabel.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/runlabel.cc b/graphics/asymptote/runlabel.cc index 1f7ea7417e..3e2c2730db 100644 --- a/graphics/asymptote/runlabel.cc +++ b/graphics/asymptote/runlabel.cc @@ -168,8 +168,8 @@ array *readpath(const string& psname, bool keep, bool pdf=false, if(s.empty()) break; if(!pdf) gs << newl; -// Workaround broken stringstream container in MacOS 10.9 libc++. -#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__ ) +// Workaround broken stringstream container in libc++. +#ifdef _LIBCPP_VERSION for(string::iterator i=s.begin(); i != s.end(); ++i) { if(isalpha(*i) && *i != 'e') {buf << " ";} buf << *i; |