mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-13 23:20:32 +02:00
Do nothing when deprecated things are
disabled.
This commit is contained in:
parent
b730fbf131
commit
c70c62a636
1 changed files with 12 additions and 0 deletions
|
@ -23,6 +23,8 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if SCM_ENABLE_DEPRECATED
|
||||||
|
|
||||||
static int
|
static int
|
||||||
string_equal (SCM str, char *lit)
|
string_equal (SCM str, char *lit)
|
||||||
{
|
{
|
||||||
|
@ -72,3 +74,13 @@ main (int argc, char *argv[])
|
||||||
test_gh_set_substr ();
|
test_gh_set_substr ();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
int
|
||||||
|
main (int argc, char *argv[])
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* !SCM_ENABLE_DEPRECATED */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue