History

disable some string things on android

Jack Atherton committed 5 years ago

Commit 90c48b61 parent b6eda501 file · +4 −4Browse files

Showing the changes to src/core/util_string.cpp (1 of 1 file). Show all

Unified · Split

src/core/util_string.cpp+4−4
@@ -361,7 +361,7 @@ done: · 360 unmodified lines
361361
362362 /* from http://developer.apple.com/library/mac/#qa/qa1549/_index.html */
363363
364−#if !defined(__PLATFORM_WIN32__) && !defined(__EMSCRIPTEN__)
364+#if !defined(__PLATFORM_WIN32__) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__)
365365
366366 #include <glob.h>
367367
@@ -389,7 +389,7 @@ char* CreatePathByExpandingTildePath(const char* path) · 21 unmodified lines
389389 return result;
390390 }
391391
392−#endif // __PLATFORM_WIN32__ && __EMSCRIPTEN__
392+#endif // __PLATFORM_WIN32__ && __EMSCRIPTEN__ && __ANDROID__
393393
394394
395395 // get full path to file
@@ -431,8 +431,8 @@ std::string get_full_path( const std::string & fp ) · 35 unmodified lines
431431
432432 std::string expand_filepath( std::string & fp )
433433 {
434−#if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || defined(__EMSCRIPTEN__)
435− // no expansion in Windows systems or Emscripten
434+#if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || defined(__EMSCRIPTEN__) || defined(__ANDROID__)
435+ // no expansion in Windows systems or Emscripten or Android
436436 return fp;
437437 #else
438438

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t