include/sys/syscall.h: System definitions should depend on CONFIG_LIB_SYSCALL not CONFIG_NUTTX_KERNEL
This commit is contained in:
parent
fe35751ec2
commit
beaa2e1c97
@ -47,9 +47,7 @@
|
||||
# include <stdint.h>
|
||||
#endif
|
||||
|
||||
/* The content of this file is only meaningful for the case of a kernel build. */
|
||||
|
||||
#ifdef CONFIG_NUTTX_KERNEL
|
||||
#ifdef CONFIG_LIB_SYSCALL
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -58,7 +58,8 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define EXTERN extern "C"
|
||||
extern "C" {
|
||||
extern "C"
|
||||
{
|
||||
#else
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user