diff options
Diffstat (limited to 'graphics/asymptote/runlabel.in')
-rw-r--r-- | graphics/asymptote/runlabel.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/runlabel.in b/graphics/asymptote/runlabel.in index 9503a0b0ee..978d7d97f9 100644 --- a/graphics/asymptote/runlabel.in +++ b/graphics/asymptote/runlabel.in @@ -122,8 +122,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; |