summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2005-06-12 12:31:33 +0000
committerMarius Vollmer <mvo@zagadka.de>2005-06-12 12:31:33 +0000
commitc70c62a63693b29ad41975670bf9e50834895fff (patch)
tree92bd93fa0df5c2ba4657779fefc8f3ce2f138e17
parentb730fbf131cd8c051e29fd58f4f7f6d9d92ad85d (diff)
downloadguile-c70c62a63693b29ad41975670bf9e50834895fff.tar.gz
Do nothing when deprecated things are
disabled.
-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 */