Showing the changes to src/core/util_string.cpp (1 of 16 files). Show all
Unified · Split
| @@ -390,6 +390,8 @@ done: · 389 unmodified lines | ||
| 390 | 390 | /* from http://developer.apple.com/library/mac/#qa/qa1549/_index.html */ |
| 391 | 391 | #if !defined(__PLATFORM_WIN32__) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__) && !defined(__CHIP_MODE__) |
| 392 | 392 | |
| 393 | +#if !defined(__PLATFORM_OPENBSD__) | |
| 394 | + | |
| 393 | 395 | #include <wordexp.h> |
| 394 | 396 | //----------------------------------------------------------------------------- |
| 395 | 397 | // name: expandTildePath() |
| @@ -418,6 +420,17 @@ std::string expandTildePath( const std::string & path ) · 22 unmodified lines | ||
| 418 | 420 | return result; |
| 419 | 421 | } |
| 420 | 422 | |
| 423 | +#else | |
| 424 | + | |
| 425 | +//FIXME | |
| 426 | +std::string expandTildePath( const std::string & path ) | |
| 427 | +{ | |
| 428 | + // default is the original path | |
| 429 | + std::string result = path; | |
| 430 | + return result; | |
| 431 | +} | |
| 432 | +#endif | |
| 433 | + | |
| 421 | 434 | #include <glob.h> |
| 422 | 435 | //----------------------------------------------------------------------------- |
| 423 | 436 | // name: globTildePath() |