Do nothing when deprecated things are
authorMarius Vollmer <mvo@zagadka.de>
Sun, 12 Jun 2005 12:31:33 +0000 (12:31 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Sun, 12 Jun 2005 12:31:33 +0000 (12:31 +0000)
disabled.

test-suite/standalone/test-gh.c

index 8b7f090..170e210 100644 (file)
@@ -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 */