Skip to content

Commit

Permalink
fix for stricmp or strcasecmp regarding os
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick authored Jun 3, 2020
1 parent af3dc25 commit 5e5a1d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ImGuiFileDialog/ImGuiFileDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
#include "ImGuiFileDialog.h"
#include "imgui.h"

#include <string.h> // strcmpi
#include <string.h> // stricmp / strcasecmp
#include <sstream>
#include <iomanip>
#include <time.h>
Expand All @@ -43,6 +43,7 @@ SOFTWARE.
#define PATH_MAX 260
#endif
#elif defined(LINUX) or defined(APPLE)
#define stricmp strcasecmp
#include <sys/types.h>
#include <dirent.h>
#define PATH_SEP '/'
Expand Down

0 comments on commit 5e5a1d0

Please sign in to comment.