History

crude openbsd+openal port

Sigrid Solveig Haflínudóttir committed 3 years ago

Commit 3ce12951 parent 37c074716 files · +731 −101Browse files

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

Unified · Split

src/core/util_string.cpp+13−0
@@ -390,6 +390,8 @@ done: · 389 unmodified lines
390/* from http://developer.apple.com/library/mac/#qa/qa1549/_index.html */390/* from http://developer.apple.com/library/mac/#qa/qa1549/_index.html */
391#if !defined(__PLATFORM_WIN32__) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__) && !defined(__CHIP_MODE__)391#if !defined(__PLATFORM_WIN32__) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__) && !defined(__CHIP_MODE__)
392 392
393#if !defined(__PLATFORM_OPENBSD__)
394
393#include <wordexp.h>395#include <wordexp.h>
394//-----------------------------------------------------------------------------396//-----------------------------------------------------------------------------
395// name: expandTildePath()397// name: expandTildePath()
@@ -418,6 +420,17 @@ std::string expandTildePath( const std::string & path ) · 22 unmodified lines
418 return result;420 return result;
419}421}
420 422
423#else
424
425//FIXME
426std::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#include <glob.h>434#include <glob.h>
422//-----------------------------------------------------------------------------435//-----------------------------------------------------------------------------
423// name: globTildePath()436// name: globTildePath()

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