Fix build on OpenBSD
IGFD appears to be a fork but I pushed this upstream as well.
30a00cf727
This commit is contained in:
parent
b4059d69da
commit
b5b8509840
2
extern/igfd/ImGuiFileDialog.cpp
vendored
2
extern/igfd/ImGuiFileDialog.cpp
vendored
|
@ -54,7 +54,7 @@ SOFTWARE.
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
#define PATH_MAX 260
|
#define PATH_MAX 260
|
||||||
#endif // PATH_MAX
|
#endif // PATH_MAX
|
||||||
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined (__EMSCRIPTEN__) || defined(__HAIKU__)
|
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined (__EMSCRIPTEN__) || defined(__HAIKU__)
|
||||||
#define UNIX
|
#define UNIX
|
||||||
#define stricmp strcasecmp
|
#define stricmp strcasecmp
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
Loading…
Reference in a new issue