[Mesa-dev] [PATCH] swr: remove unneeded fallback strcasecmp define

Emil Velikov emil.l.velikov at gmail.com
Mon Jul 17 14:34:14 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

The last user of the function was removed with earlier commit.

Fixes: 50842e8a931 ("swr: replace gallium->swr format enum conversion")
Cc: Tim Rowley <timothy.o.rowley at intel.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Continue and purge all the strcasecmp cases... it is locale specific YAY
---
 src/gallium/drivers/swr/swr_screen.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
index e88b4551ae9..952ae0c77a5 100644
--- a/src/gallium/drivers/swr/swr_screen.cpp
+++ b/src/gallium/drivers/swr/swr_screen.cpp
@@ -46,11 +46,6 @@
 #include <stdio.h>
 #include <map>
 
-/* MSVC case instensitive compare */
-#if defined(PIPE_CC_MSVC)
-   #define strcasecmp lstrcmpiA
-#endif
-
 /*
  * Max texture sizes
  * XXX Check max texture size values against core and sampler.
-- 
2.13.0



More information about the mesa-dev mailing list