Mercurial > repos > blastem
comparison util.h @ 2681:c4256ce2c45a
Updated Android port using gradle toolchain and with basic Storage Access Framework support for Android 11+ support
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 26 Mar 2025 01:20:55 -0700 |
parents | 794ba17f0716 |
children | 143cb5762ec9 |
comparison
equal
deleted
inserted
replaced
2680:e3394457427e | 2681:c4256ce2c45a |
---|---|
104 void socket_close(int sock); | 104 void socket_close(int sock); |
105 //Return the last error on a socket operation | 105 //Return the last error on a socket operation |
106 int socket_last_error(void); | 106 int socket_last_error(void); |
107 //Returns if the last socket error was EAGAIN/EWOULDBLOCK | 107 //Returns if the last socket error was EAGAIN/EWOULDBLOCK |
108 int socket_error_is_wouldblock(void); | 108 int socket_error_is_wouldblock(void); |
109 #if defined(__ANDROID__) && !defined(IS_LIB) | |
110 FILE* fopen_wrapper(const char *path, const char *mode); | |
111 #ifndef DISABLE_ZLIB | |
112 #include "zlib/zlib.h" | |
113 gzFile gzopen_wrapper(const char *path, const char *mode); | |
114 #endif | |
115 #endif | |
109 | 116 |
110 #endif //UTIL_H_ | 117 #endif //UTIL_H_ |