mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 07:50:09 +08:00
testsuite/ppp01: Avoid build error on SMP
This commit is contained in:
parent
c6899159e4
commit
06d83167c7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user