ios: fix compile
This commit is contained in:
@@ -9,13 +9,16 @@
|
||||
#include "iron_system.h"
|
||||
#include "kong/dir.h"
|
||||
#ifdef IRON_ANDROID
|
||||
#include <backends/android_system.h>
|
||||
#include "backends/android_system.h"
|
||||
#endif
|
||||
#ifdef IRON_IOS
|
||||
#include "backends/ios_file_dialog.h"
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef IRON_WINDOWS
|
||||
#include <backends/windows_mini.h>
|
||||
#include "backends/windows_mini.h"
|
||||
#include <malloc.h>
|
||||
#include <memory.h>
|
||||
#else
|
||||
|
||||
@@ -699,6 +699,8 @@ char *iron_save_dialog(char *filter_list, char *default_path) {
|
||||
|
||||
#include "backends/android_file_dialog.h"
|
||||
|
||||
extern char temp_string[1024 * 128];
|
||||
|
||||
char_ptr_array_t *iron_open_dialog(char *filter_list, char *default_path, bool open_multiple) {
|
||||
AndroidFileDialogOpen();
|
||||
return NULL;
|
||||
@@ -715,6 +717,8 @@ char *iron_save_dialog(char *filter_list, char *default_path) {
|
||||
#include "backends/ios_file_dialog.h"
|
||||
#include <wchar.h>
|
||||
|
||||
extern char temp_string[1024 * 128];
|
||||
|
||||
char_ptr_array_t *iron_open_dialog(char *filter_list, char *default_path, bool open_multiple) {
|
||||
// Once finished drop_files callback is called
|
||||
IOSFileDialogOpen();
|
||||
|
||||
Reference in New Issue
Block a user