mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-15 20:44:16 +00:00
gstdatetime: Disable usage of GDateTime on MacOSX
GLib's GDateTime doesn't handle properly the gmt offset. Therefore use our own internal version instead on MacOSX. See bug #638666
This commit is contained in:
parent
4b51c52395
commit
f53948b332
1 changed files with 8 additions and 0 deletions
|
@ -257,6 +257,14 @@
|
|||
#define GST_DATE_TIME_USEC_PER_SECOND (G_GINT64_CONSTANT (1000000))
|
||||
#define GST_DATE_TIME_USEC_PER_MILLISECOND (G_GINT64_CONSTANT (1000))
|
||||
|
||||
/* Jan 5th 2011 (Edward) : GLib's GDateTime is broken in regards to gmt offset
|
||||
* on macosx. Re-enable it once the following bug is fixed:
|
||||
* https://bugzilla.gnome.org/show_bug.cgi?id=638666 */
|
||||
#ifdef HAVE_OSX
|
||||
#undef GLIB_HAS_GDATETIME
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef GLIB_HAS_GDATETIME
|
||||
|
||||
#define MAX_SUPPORTED_YEAR 9999
|
||||
|
|
Loading…
Reference in a new issue