diff options
Diffstat (limited to 'nuttx/arch/sim/src/up_tapdev.c')
-rw-r--r-- | nuttx/arch/sim/src/up_tapdev.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/arch/sim/src/up_tapdev.c b/nuttx/arch/sim/src/up_tapdev.c index f742afeac..bf9d9db81 100644 --- a/nuttx/arch/sim/src/up_tapdev.c +++ b/nuttx/arch/sim/src/up_tapdev.c @@ -38,9 +38,7 @@ * ****************************************************************************/ -#ifndef linux -# error "Sorry, this will only work with Linux" -#endif +#ifdef linux /**************************************************************************** * Included Files @@ -281,3 +279,6 @@ void tapdev_send(char *buf, unsigned int buflen) } } +#endif /* linux */ + + |