Commit
1c2c986ebb2d16e491c68656217f5352b3d809c8 replaced `SFCompareEntries`
implementation with `strcasecmp` or `_stricmp` depending on whether we were
compiling with a non-MSVC compiler or with MSVC, respectively. However, this
code is part of the X11 GUI support and hence never built with MSVC. This commit
removes this unnecessary fall back which was dead code.
#include "config.h"
#include <stdio.h>
#include <string.h>
-#ifndef _MSC_VER
#include <strings.h>
-#endif
#include "SFinternal.h"
int SFcompareEntries (const void *vp, const void *vq) {
const SFEntry *p = vp, *q = vq;
#ifdef SEL_FILE_IGNORE_CASE
-#ifdef _MSC_VER
- return _stricmp(p->real, q->real);
-#else
return strcasecmp(p->real, q->real);
-#endif
#else /* def SEL_FILE_IGNORE_CASE */
return strcmp (p->real, q->real);
#endif /* def SEL_FILE_IGNORE_CASE */