From c70c62a63693b29ad41975670bf9e50834895fff Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Sun, 12 Jun 2005 12:31:33 +0000 Subject: [PATCH] Do nothing when deprecated things are disabled. --- test-suite/standalone/test-gh.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 #include +#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 */