Fixed recent MinGW build WRT configure not finding strcasecmp() (STR #2994).
Note: This fix is temporary and should be revisited later. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
6532f276fe
commit
eb980231be
2
CHANGES
2
CHANGES
@ -1,5 +1,7 @@
|
||||
CHANGES IN FLTK 1.3.3 RELEASED: MMM DD YYYY
|
||||
|
||||
- Fixed recent MinGW build WRT configure not finding strcasecmp() (STR #2994).
|
||||
Note: This fix is temporary and should be revisited later.
|
||||
- Fixed missing libdl dependency in CMake builds (STR #2977).
|
||||
- Fixed segfault in fl_set_fonts_xft.cxx when loading fonts not named
|
||||
as expected (STR #2976).
|
||||
|
@ -37,7 +37,15 @@
|
||||
|
||||
extern Fl_Pixmap *pixmap[];
|
||||
|
||||
#if !HAVE_STRCASECMP
|
||||
// Note: current MinGW versions don't find strcasecmp() in configure,
|
||||
// since it has been #define'd to _stricmp, and hence it does work,
|
||||
// although it is actually not available as a function in any lib.
|
||||
// The following "&& !defined(strcasecmp)" fixes this *temporarily*,
|
||||
// until a better fix can be found. One way would be to rename this
|
||||
// local, static version of function strcasecmp()...
|
||||
// AlbrechtS, Jan 03, 2014, svn -r ~10044, see STR #2994
|
||||
|
||||
#if !HAVE_STRCASECMP && !defined(strcasecmp)
|
||||
//
|
||||
// 'strcasecmp()' - Do a case-insensitive compare...
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user