diff options
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 |