mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-27 21:36:03 +00:00
22dc68ff4e
* ios: update dummy.m to work with x86 sim * add condition for CPU arch to dummy.m
24 lines
442 B
Objective-C
24 lines
442 B
Objective-C
//
|
|
// dummy.m
|
|
// SimpleX
|
|
//
|
|
// Created by Evgeny Poberezkin on 22/01/2022.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#if defined(__x86_64__) && TARGET_IPHONE_SIMULATOR
|
|
|
|
#import <dirent.h>
|
|
|
|
int readdir_r$INODE64(DIR *restrict dirp, struct dirent *restrict entry,
|
|
struct dirent **restrict result) {
|
|
return readdir_r(dirp, entry, result);
|
|
}
|
|
|
|
DIR *opendir$INODE64(const char *name) {
|
|
return opendir(name);
|
|
}
|
|
|
|
#endif
|