mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-10 23:40:12 +00:00
Move prototype from nuttx/include/nuttx/arch.h to apps/include/platform/cxxinitialize.h
This commit is contained in:
parent
041d0d2c68
commit
b08ea68a33
9 changed files with 114 additions and 13 deletions
|
|
@ -3,3 +3,12 @@
|
|||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
|
||||
config HAVE_CXXINITIALIZE
|
||||
bool "Have C++ initialization"
|
||||
default n
|
||||
depends on HAVE_CXX
|
||||
---help---
|
||||
The platform-specific logic includes support for initialization
|
||||
of static C++ instances for this architecture and for the selected
|
||||
toolchain (via up_cxxinitialize()).
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/arch.h>
|
||||
#include "platform/cxxinitialize.h"
|
||||
|
||||
#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue