Fixed Android build - reasonable defaults for HAS_REMOTE_API and INSTALL to avoid including unavailable curl.h and wordexp.h
This commit is contained in:
1 parent
bbe2f51bc0
commit
7657ad7855
2 files changed
+4
-1
No files matched your search
@@ -139,6 +139,9 @@ struct index_entry_t {
|
||||
// the current time zone. On Win32 windows.h provides a means to do it.
|
||||
// gcc/mingw supports unistd.h on Win32 but MSVC does not.
|
||||
|
||||
#ifdef __ANDROID__
|
||||
# define INSTALL .
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
# ifdef WINAPI_FAMILY
|
||||
# include <winapifamily.h>
|
||||
|
||||
Reference in new issue
Block a user