3rdparty/tiny_gltf/tiny_gltf.h: fix for OpenBSD - no wordexp.h.
This commit is contained in:
parent
6d891eae7e
commit
d7dd7e2c6e
4
3rdparty/tiny_gltf/tiny_gltf.h
vendored
4
3rdparty/tiny_gltf/tiny_gltf.h
vendored
@ -1605,7 +1605,7 @@ class TinyGLTF {
|
||||
|
||||
#endif
|
||||
|
||||
#elif !defined(__ANDROID__)
|
||||
#elif !defined(__ANDROID__) && !defined(__OpenBSD__)
|
||||
#include <wordexp.h>
|
||||
#endif
|
||||
|
||||
@ -2629,7 +2629,7 @@ std::string ExpandFilePath(const std::string &filepath, void *) {
|
||||
#else
|
||||
|
||||
#if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) || \
|
||||
defined(__ANDROID__) || defined(__EMSCRIPTEN__)
|
||||
defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__OpenBSD__)
|
||||
// no expansion
|
||||
std::string s = filepath;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user