[postgis-tickets] r15796 - Remove unused strnicmp macro test (Closes #3862)
Paul Ramsey
pramsey at cleverelephant.ca
Fri Sep 22 12:06:12 PDT 2017
Author: pramsey
Date: 2017-09-22 12:06:11 -0700 (Fri, 22 Sep 2017)
New Revision: 15796
Modified:
trunk/raster/rt_core/librtcore.h
Log:
Remove unused strnicmp macro test (Closes #3862)
Modified: trunk/raster/rt_core/librtcore.h
===================================================================
--- trunk/raster/rt_core/librtcore.h 2017-09-22 15:25:22 UTC (rev 15795)
+++ trunk/raster/rt_core/librtcore.h 2017-09-22 19:06:11 UTC (rev 15796)
@@ -114,18 +114,6 @@
#endif
#endif
-/* if we are in Unix define stricmp to be strcasecmp and strnicmp to */
-/* be strncasecmp. I'm not sure if all Unices have these, but Linux */
-/* does. */
-#if defined(UNIX)
-#if !defined(HAVE_STRICMP)
-#define stricmp strcasecmp
-#endif
-#if !defined(HAVE_STRNICMP)
-#define strnicmp strncasecmp
-#endif
-#endif
-
#include <stdio.h> /* for printf, sprintf */
#include <stdlib.h> /* For size_t, srand and rand */
#include <stdint.h> /* For C99 int types */
More information about the postgis-tickets
mailing list