After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 497292 - gsttextoverlay compile problem in MSVC
gsttextoverlay compile problem in MSVC
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Windows
: Normal trivial
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-16 05:34 UTC by Kwang Yul Seo
Modified: 2007-11-16 08:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kwang Yul Seo 2007-11-16 05:34:10 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.
Comment 1 David Schleef 2007-11-16 05:53:47 UTC
2007-11-15  David Schleef  <ds@schleef.org>

        * ext/cairo/gsttextoverlay.c:
          Change strcasecmp() to g_strcasecmp().  Fixes #497292.