wasm_export.h Function Description & SGX SDK Include path (#279)

* Missing SGX SDK Include fixed

* Update shared_platform.cmake

* CMakeFile remove stdlib from untrusted part

* Added two times in function description zero as possible return value

* Update shared_platform.cmake

Co-authored-by: Joshua Heinemann <heineman@ibr.cs.tu-bs.de>
Co-authored-by: wenyongh <wenyong.huang@intel.com>
This commit is contained in:
J-Heinemann
2020-06-12 12:47:06 +02:00
committed by GitHub
parent 10980a1dd7
commit f4d4d69736
2 changed files with 7 additions and 5 deletions

View File

@ -14,9 +14,11 @@ else()
set (SGX_SDK_DIR $ENV{SGX_SDK})
endif()
include_directories (${SGX_SDK_DIR}/include
${SGX_SDK_DIR}/include/tlibc
${SGX_SDK_DIR}/include/libcxx)
include_directories (${SGX_SDK_DIR}/include)
if (NOT BUILD_UNTRUST_PART EQUAL 1)
include_directories (${SGX_SDK_DIR}/include/tlibc
${SGX_SDK_DIR}/include/libcxx)
endif ()
file (GLOB_RECURSE source_all ${PLATFORM_SHARED_DIR}/*.c)