diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-11-09 09:37:04 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-11-09 09:37:24 -0800 |
commit | bdef3073d3094ede3e5f376767e07868dd9f69dd (patch) | |
tree | 6b1dab1a9266da2b56038108f63a2a7c85135fc2 | |
parent | 773b91600f501055676a47741d0f126ee22bb4c9 (diff) |
Fixes: 8fa3682 ("Assume all target platforms have strcasecmp() now")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/app/xedit/-/merge_requests/11>
-rw-r--r-- | xedit.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -182,6 +182,9 @@ void TagsAction(Widget, XEvent*, String*, Cardinal*); void SearchTagsFile(xedit_flist_item *item); /* externs for system replacement functions */ +#if defined(_MSC_VER) +#define strcasecmp _stricmp +#endif #ifdef NEED_REALPATH #include <sys/param.h> char *realpath(const char *pathname, char resolvedname[MAXPATHLEN]); |