mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:59:07 +08:00
testsuite/ppp01: Avoid build error on SMP
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user