mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
libs/libc: export exit() if configured in flat mode
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef __KERNEL__
|
||||
#if defined(CONFIG_BUILD_FLAT) || !defined(__KERNEL__)
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
|
||||
Reference in New Issue
Block a user