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 */