testsuite/ppp01: Avoid build error on SMP

This commit is contained in:
Sebastian Huber 2015-11-12 13:16:25 +01:00
parent c6899159e4
commit 06d83167c7

View File

@ -59,6 +59,8 @@
#define TEST_NAME "LIBBSD PPP 1"
#ifndef RTEMS_SMP
static void
set_pppd_options(void)
{
@ -272,6 +274,17 @@ test_main(void)
RTEMS_BSD_DEFINE_NEXUS_DEVICE(ppp, 0, 0, NULL);
#else /* RTEMS_SMP */
static void
test_main(void)
{
printf("PPP is not support on SMP configurations");
exit(0);
}
#endif /* RTEMS_SMP */
#define CONFIGURE_MAXIMUM_DRIVERS 32
#define DEFAULT_NETWORK_SHELL