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
390390 /* from http://developer.apple.com/library/mac/#qa/qa1549/_index.html */
391391 #if !defined(__PLATFORM_WIN32__) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__) && !defined(__CHIP_MODE__)
392392
393+#if !defined(__PLATFORM_OPENBSD__)
394+
393395 #include <wordexp.h>
394396 //-----------------------------------------------------------------------------
395397 // name: expandTildePath()
@@ -418,6 +420,17 @@ std::string expandTildePath( const std::string & path ) · 22 unmodified lines
418420 return result;
419421 }
420422
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+
421434 #include <glob.h>
422435 //-----------------------------------------------------------------------------
423436 // 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