GNOME Bugzilla – Bug 497292
gsttextoverlay compile problem in MSVC
Last modified: 2007-11-16 08:58:11 UTC
MSVC does not provide strings.h header file and strcasecmp() function used by gsttextoverlay. Instead, it provides lstrcmpi() function which has the equivalent function. #ifdef WIN32 #include <windows.h> #define strcasecmp lstrcmpi #else #include <strings.h> #endif The above #ifdef would solve the compile error.
2007-11-15 David Schleef <ds@schleef.org> * ext/cairo/gsttextoverlay.c: Change strcasecmp() to g_strcasecmp(). Fixes #497292.