1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Only perform the tests when the disabled features are enabled.

This commit is contained in:
Marius Vollmer 2004-08-03 15:07:23 +00:00
parent eae5018eff
commit b8f63daff4

View file

@ -20,6 +20,8 @@
#include <stdio.h>
#include <assert.h>
#if SCM_ENABLE_DISCOURAGED == 1
SCM out_of_range_handler (void *data, SCM key, SCM args);
SCM call_num2long_long_body (void *data);
SCM call_num2ulong_long_body (void *data);
@ -147,3 +149,13 @@ main (int argc, char *argv[])
test_ulong_long ();
return 0;
}
#else /* SCM_ENABLE_DISCOURAGED == 0 */
int
main (int argc, char *argv[])
{
return 0;
}
#endif /* SCM_ENABLE_DISCOURAGED == 0 */