diff options
author | Karl Berry <karl@freefriends.org> | 2014-04-20 22:56:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-04-20 22:56:10 +0000 |
commit | ce5dd4137c8f88f9449e78ea4e02081bb589432e (patch) | |
tree | 1482a78c9484fb143211d3c1bb56d6c95f8393a1 /Build/source/utils/asymptote/memory.h | |
parent | d7e9f3fbc05b16e08afeb5b2569cb39a9b03e661 (diff) |
asy 2.25 sources
git-svn-id: svn://tug.org/texlive/trunk@33565 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/memory.h')
-rw-r--r-- | Build/source/utils/asymptote/memory.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/memory.h b/Build/source/utils/asymptote/memory.h index ccf0436c500..9bbbfd17530 100644 --- a/Build/source/utils/asymptote/memory.h +++ b/Build/source/utils/asymptote/memory.h @@ -171,7 +171,13 @@ typedef std::basic_ostringstream<char,std::char_traits<char>, gc_allocator<char> > ostringstream; typedef std::basic_stringbuf<char,std::char_traits<char>, gc_allocator<char> > stringbuf; +#if GC_TMP_VERSION_MAJOR >= 7 && GC_TMP_VERSION_MINOR > 1 +inline void compact(int x) {GC_set_dont_expand(x);} #else +inline void compact(int x) {GC_dont_expand=x;} +#endif +#else +inline void compact(int x) {} typedef std::string string; typedef std::stringstream stringstream; typedef std::istringstream istringstream; |