[mythtv-commits] mythtv/master commit: 8dde95be0 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Thu Aug 25 09:43:09 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-08-25T02:38:52-07:00
   Push Date:  2011/08/25 02:43:03 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  8dde95be0b02943b32708ecef8ca28c645622fe1
   Changeset:  https://github.com/MythTV/mythtv/commit/8dde95be0

Log:

Fix gmtime_r in mingw, redo random fix

Seems that the libavformat/utils.h already contains a gmtime_r replacement for
mingw, and it uses an #define.  If we don't check if it's in place, we get
really odd compile errors.  So... if ffmpeg already defined it, and that include
has already been included, no real need to redo it.  If we determine we want
to always use ours, we can just #undef gmtime_r and redefine it.

Also, the qrand() use in Programs.cpp should be fulfilled by just including
compat.h

Modified:

   mythtv/libs/libmythbase/compat.h
   mythtv/libs/libmythfreemheg/Programs.cpp



More information about the mythtv-commits mailing list