mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 00:06:20 +08:00
Backport fix from the 1.3 branch to resolve issues an issue with _strdup not being defined.
This resolves an issue when trying to compile FLTK 1.1 with MinGW because _strdup doesn't exist but the regular strdup function does.
This commit is contained in:
committed by
Albrecht Schlosser
parent
74ecf68e8f
commit
1603f801a7
+1
-1
@@ -48,7 +48,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
|
||||
|
||||
Reference in New Issue
Block a user