summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-suite/standalone/test-gh.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/standalone/test-gh.c b/test-suite/standalone/test-gh.c
index 8b7f09093..170e210c0 100644
--- a/test-suite/standalone/test-gh.c
+++ b/test-suite/standalone/test-gh.c
@@ -23,6 +23,8 @@
#include <assert.h>
#include <string.h>
+#if SCM_ENABLE_DEPRECATED
+
static int
string_equal (SCM str, char *lit)
{
@@ -72,3 +74,13 @@ main (int argc, char *argv[])
test_gh_set_substr ();
return 0;
}
+
+#else
+
+int
+main (int argc, char *argv[])
+{
+ return 0;
+}
+
+#endif /* !SCM_ENABLE_DEPRECATED */