From 3af9673d8516399b46d78e62a4c849a16cddfdf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Wed, 13 May 1998 01:51:51 +0200 Subject: [PATCH] Now works with older pike's again. Rev: tutorial/Wmml.pmod:1.20 Rev: tutorial/wmmltohtml2:1.6 --- tutorial/Wmml.pmod | 2 ++ tutorial/wmmltohtml2 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tutorial/Wmml.pmod b/tutorial/Wmml.pmod index dfcaaf948b..8770a1b6ea 100644 --- a/tutorial/Wmml.pmod +++ b/tutorial/Wmml.pmod @@ -1,5 +1,7 @@ #include "types.h" +#if __VERSION__ >= 0.6 import "."; +#endif /* __VERSION__ >= 0.6 */ import Sgml; SGML low_make_concrete_wmml(SGML data); diff --git a/tutorial/wmmltohtml2 b/tutorial/wmmltohtml2 index 4c24b37bf9..42c586a6ca 100755 --- a/tutorial/wmmltohtml2 +++ b/tutorial/wmmltohtml2 @@ -1,7 +1,9 @@ #!/usr/local/bin/pike import Stdio; +#if __VERSION__ >= 0.6 import "."; +#endif /* __VERSION__ >= 0.6 */ #include "types.h" -- GitLab