Move prototype from nuttx/include/nuttx/arch.h to apps/include/platform/cxxinitialize.h

This commit is contained in:
Gregory Nutt 2017-05-13 16:53:33 -06:00
parent 041d0d2c68
commit b08ea68a33
9 changed files with 114 additions and 13 deletions

View file

@ -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()).

View file

@ -41,7 +41,7 @@
#include <debug.h>
#include <nuttx/arch.h>
#include "platform/cxxinitialize.h"
#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE)