From 41b85d18a4c6e7cb4dd31f05705368b4e20667de Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 21 Jan 2014 11:07:43 +0000 Subject: Fix strcasecmp() issues (again), see STR #2994. This new temporary fix improves handling of strcasecmp() for CMake-generated Makefiles (cmake -G "MSYS Makefiles" ..). For some unknown reason (maybe other compiler flags?) this showed lots of *warnings* again. A better fix (replacing direct calls to strcasecmp() with fl_strcasecmp() or similar will follow later. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/flstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flstring.h') diff --git a/src/flstring.h b/src/flstring.h index 3f565a7c9..c575c2069 100644 --- a/src/flstring.h +++ b/src/flstring.h @@ -39,7 +39,7 @@ # undef index # endif /* index */ -# if defined(WIN32) && !defined(__CYGWIN__) +# if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) # define strcasecmp(s,t) _stricmp((s), (t)) # define strncasecmp(s,t,n) _strnicmp((s), (t), (n)) /* Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs -- cgit v1.2.3