There was two incompatible definitions of strcasecmp, which lead to a
compiler warning. Let's clean this up by only leaving one of them, and
using that one all the time.
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
#include "glsl_parser_extras.h"
#include "compiler/glsl_types.h"
#include "main/context.h"
+#include "util/u_string.h"
#ifdef _MSC_VER
#pragma warning( disable : 4065 ) // switch statement contains 'default' but no 'case' labels
#include <strings.h>
#include "c11/threads.h"
#include "util/macros.h"
+#include "util/u_string.h"
#include "egllog.h"
#include "util/os_time.h"
#include "os/os_thread.h"
#include "util/u_memory.h"
+#include "util/u_string.h"
#include <stdio.h>
#include <unistd.h>
#include <dirent.h>
#include "util/os_time.h"
#include "os/os_thread.h"
#include "util/u_memory.h"
+#include "util/u_string.h"
#include <stdio.h>
#include <unistd.h>
#include <dirent.h>
#include "util/os_time.h"
#include "os/os_thread.h"
#include "util/u_memory.h"
+#include "util/u_string.h"
#include <stdio.h>
#include <unistd.h>
#include <dirent.h>
-#if defined(_MSC_VER)
-#define strcasecmp(s1, s2) _stricmp(s1, s2)
-#endif
/*@}*/
#include <string.h>
#include "main/macros.h"
#include "debug.h"
+#include "u_string.h"
uint64_t
parse_debug_string(const char *debug,