[DLScript] fixed android builds now

... really.
This commit is contained in:
Karroffel 2017-04-06 14:00:54 +02:00
parent ab02206f18
commit 741800f5cc
2 changed files with 2 additions and 2 deletions

View File

@ -453,7 +453,7 @@ Error OS_Unix::close_dynamic_library(void *p_library_handle) {
} }
Error OS_Unix::get_dynamic_library_symbol_handle(void *p_library_handle, const String p_name, void *&p_symbol_handle) { Error OS_Unix::get_dynamic_library_symbol_handle(void *p_library_handle, const String p_name, void *&p_symbol_handle) {
char *error; const char *error;
dlerror(); // Clear existing errors dlerror(); // Clear existing errors
p_symbol_handle = dlsym(p_library_handle, p_name.utf8().get_data()); p_symbol_handle = dlsym(p_library_handle, p_name.utf8().get_data());

View File

@ -3,7 +3,7 @@
#include "string_db.h" #include "string_db.h"
#include "ustring.h" #include "ustring.h"
#include <memory.h> #include <string.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {