mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 10:57:53 +02:00
removed -GD to compile with msvc9 (vs2008) with less complains
2007-12-09 Hans Breuer <hans@breuer.org> * **/makefile.msc glib/makefile.msc.in : removed -GD to compile with msvc9 (vs2008) with less complains * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for msv8 (vs2005) and above * glib/gfileutils.c : s/stricmp/_stricmp/ * msvc_recommended_pragmas.h : work around Microsoft's premature attempt to deprecate the C-Library * tests/makefile.msc.in : added checksum-test svn path=/trunk/; revision=6076
This commit is contained in:
@@ -221,10 +221,10 @@ g_file_test (const gchar *filename,
|
||||
if (lastdot == NULL)
|
||||
return FALSE;
|
||||
|
||||
if (stricmp (lastdot, ".exe") == 0 ||
|
||||
stricmp (lastdot, ".cmd") == 0 ||
|
||||
stricmp (lastdot, ".bat") == 0 ||
|
||||
stricmp (lastdot, ".com") == 0)
|
||||
if (_stricmp (lastdot, ".exe") == 0 ||
|
||||
_stricmp (lastdot, ".cmd") == 0 ||
|
||||
_stricmp (lastdot, ".bat") == 0 ||
|
||||
_stricmp (lastdot, ".com") == 0)
|
||||
return TRUE;
|
||||
|
||||
/* Check if it is one of the types listed in %PATHEXT% */
|
||||
|
Reference in New Issue
Block a user