diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-21 23:50:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-21 23:50:13 +0000 |
commit | f2ce4f92fe35c54839788fb10e031e2a570da350 (patch) | |
tree | 6b9008407523b956b934e02faa571501acd047bd /Build/source/utils/asymptote/path3.h | |
parent | 4d0940126da076e43963a11c69673bf583b30248 (diff) |
GCLIB_CHECK, BROKEN_COMPILER, workarounds for older systems
git-svn-id: svn://tug.org/texlive/trunk@13362 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/path3.h')
-rw-r--r-- | Build/source/utils/asymptote/path3.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/path3.h b/Build/source/utils/asymptote/path3.h index 4c61b3065d4..872e19d72bd 100644 --- a/Build/source/utils/asymptote/path3.h +++ b/Build/source/utils/asymptote/path3.h @@ -380,7 +380,10 @@ double bound(triple *p, double (*m)(double, double), int depth=maxdepth); } -// Delete the following line to work around problems with old broken compilers. -GC_DECLARE_PTRFREE(camp::solvedKnot3); +// Do -DOMIT_SOLVEDKNOT_DECL to work around redefinition error reported by +// old (broken) compilers. +#ifndef BROKEN_COMPILER +GC_DECLARE_PTRFREE(camp::solvedKnot); +#endif #endif |