Restore some files and fix minor issues of SGX platform (#144)
This commit is contained in:
@ -170,7 +170,7 @@ Enclave/%.o: Enclave/%.cpp
|
||||
@$(CXX) $(Enclave_Cpp_Flags) -c $< -o $@
|
||||
@echo "CXX <= $<"
|
||||
|
||||
$(Enclave_Name): Enclave/Enclave_t.o $(Enclave_Cpp_Objects)
|
||||
$(Enclave_Name): Enclave/Enclave_t.o $(Enclave_Cpp_Objects) libvmlib.a libextlib.a
|
||||
@$(CXX) $^ -o $@ $(Enclave_Link_Flags)
|
||||
@echo "LINK => $@"
|
||||
|
||||
|
||||
@ -14,7 +14,6 @@
|
||||
#include <assert.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
@ -66,6 +65,7 @@ typedef void* (*thread_start_routine_t)(void*);
|
||||
#define wa_strdup bh_strdup
|
||||
|
||||
int snprintf(char *buffer, size_t count, const char *format, ...);
|
||||
int strncasecmp(const char *s1, const char *s2, size_t n);
|
||||
double fmod(double x, double y);
|
||||
float fmodf(float x, float y);
|
||||
double sqrt(double x);
|
||||
|
||||
Reference in New Issue
Block a user