summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/path.h')
-rw-r--r--Build/source/utils/asymptote/path.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/path.h b/Build/source/utils/asymptote/path.h
index 1b31408c4a1..95702bada05 100644
--- a/Build/source/utils/asymptote/path.h
+++ b/Build/source/utils/asymptote/path.h
@@ -450,7 +450,10 @@ extern const double third;
}
-// Delete the following line to work around problems with old broken compilers.
+// Do -DOMIT_SOLVEDKNOT_DECL to work around redefinition error reported by
+// old (broken) compilers.
+#ifndef BROKEN_COMPILER
GC_DECLARE_PTRFREE(camp::solvedKnot);
+#endif
#endif