mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
include/sys/syscall.h: System definitions should depend on CONFIG_LIB_SYSCALL not CONFIG_NUTTX_KERNEL
This commit is contained in:
+2
-1
@@ -58,7 +58,8 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define EXTERN extern "C"
|
||||
extern "C" {
|
||||
extern "C"
|
||||
{
|
||||
#else
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user