From b5b85098402a57a8048d989d727a8f9df5119388 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 5 May 2024 18:22:22 -0400 Subject: [PATCH] Fix build on OpenBSD IGFD appears to be a fork but I pushed this upstream as well. https://github.com/aiekick/ImGuiFileDialog/commit/30a00cf727b62c90fb667eefad06080786ca4616 --- extern/igfd/ImGuiFileDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/igfd/ImGuiFileDialog.cpp b/extern/igfd/ImGuiFileDialog.cpp index b53cdf7d6..5628f0401 100644 --- a/extern/igfd/ImGuiFileDialog.cpp +++ b/extern/igfd/ImGuiFileDialog.cpp @@ -54,7 +54,7 @@ SOFTWARE. #ifndef PATH_MAX #define PATH_MAX 260 #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 stricmp strcasecmp #include