shithub: dumb

Download patch

ref: 3ec6f425abbaf5fc6141fdff1783cd5d71005fe8
parent: b80bcdf9054a60bbba6806313327b10d14ab9517
author: Chris Moeller <kode54@gmail.com>
date: Sat Dec 22 13:55:51 EST 2012

Silenced MSVC warning

--- a/dumb/src/it/readstm.c
+++ b/dumb/src/it/readstm.c
@@ -25,9 +25,11 @@
 #include "dumb.h"
 #include "internal/it.h"
 
-#ifndef _MSC_VER
-#define strnicmp strncasecmp
-#endif
+#ifdef _MSC_VER
+#define strnicmp _strnicmp
+#else
+#define strnicmp strncasecmp
+#endif
 
 /** WARNING: this is duplicated in itread.c */
 static int it_seek(DUMBFILE *f, long offset)